-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathMakefile
28 lines (20 loc) · 921 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
compile-wasm:
tinygo build -target=wasi -o testdata/tinygo/util/main.wasm testdata/tinygo/util/main.go
tinygo build -target=wasi -o examples/semaphore/main.wasm examples/semaphore/main.go
test:
go test -timeout 5m ./...
run-server-local-registry:
go run cmd/app/main.go --discoveryType=localhost --registryBackend=memory
run-server-foundationdb-0:
go run cmd/app/main.go --discoveryType=localhost --registryBackend=foundationdb --port=9090
run-server-foundationdb-1:
go run cmd/app/main.go --discoveryType=localhost --registryBackend=foundationdb --port=9091
run-server-foundationdb-2:
go run cmd/app/main.go --discoveryType=localhost --registryBackend=foundationdb --port=9092
run-wasm-playground:
bash ./scripts/playground/basic.sh
run-example-semaphore:
bash ./examples/semaphore/register_module.sh
bash ./examples/semaphore/acquire.sh
run-example-dns-registry:
go run ./examples/dnsregistry/main.go