-
Notifications
You must be signed in to change notification settings - Fork 8
/
Makefile
48 lines (31 loc) · 817 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
all: dev
.PHONY: setup deploy emulator test dev contract contract_publish client lint
setup: deploy
go run ./tasks/setup/main.go
lint:
golangci-lint run
#this goal deployes all the contracts to emulator
deploy:
flow project deploy
emulator:
flow emulator -v
test:
gotessum -f testname
dev:
gotestsum -f testname --watch
gen-client:
go run tasks/client/main.go > lib/find.json
publish:
cd lib && npm publish --access public && cd ..
patch:
json-bump lib/package.json --patch
minor:
json-bump lib/package.json --minor
major:
json-bump lib/package.json --major
client: gen-client
./dappertx testnet
./dappertx mainnet
compare-client:
FLOW_NETWORK=testnet FOLDER_PATH=$(arg) go run ./tasks/checkDapperTx/main.go
FLOW_NETWORK=mainnet FOLDER_PATH=$(arg) go run ./tasks/checkDapperTx/main.go