forked from digital-asset/wallet-sample-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
45 lines (32 loc) · 774 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
SDK_VERSION := $(shell grep 'sdk-version' daml.yaml | cut -d ' ' -f 2)
.PHONY: build
build: build-dars
#Dars
.PHONY: build-dars
build-dars:
./build.sh
.PHONY: test
test:
cd main/Tests && daml test --color
.PHONY: clean
clean:
./clean.sh
.PHONY: codegen
codegen:
./codegen.sh
.PHONY: sandbox
sandbox:
daml sandbox --dar main/Asset/asset.dar --dar main/User/user.dar --dar main/Account/account.dar --port-file ./canton-port.txt
.PHONY: server
server:
daml json-api --config json-api-app.conf
.PHONY: everything
everything:
make build
make codegen
.PHONY: parties
parties:
daml script --dar ./main/Account/account.dar --script-name Setup:setup --ledger-host localhost --ledger-port 6865
.PHONY: navigator
navigator:
daml navigator server localhost 6865