forked from kinecosystem/kin-core-android-ethereum
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (30 loc) · 915 Bytes
/
Makefile
File metadata and controls
39 lines (30 loc) · 915 Bytes
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
# default target does nothing
.DEFAULT_GOAL: default
default: ;
# add truffle and testrpc to $PATH
export PATH := ./kin-sdk-core/truffle/node_modules/.bin:$(PATH)
export PATH := /usr/local/bin:$(PATH)
test:
./gradlew :sample:assembleDebug
./gradlew :kin-sdk-core:connectedAndroidTest
.PHONY: test
prepare-tests: truffle
kin-sdk-core/truffle/scripts/prepare-tests.sh
.PHONY: test
truffle: testrpc truffle-clean
kin-sdk-core/truffle/scripts/truffle.sh
.PHONY: truffle
truffle-clean:
rm -f kin-sdk-core/truffle/token-contract-address
.PHONY: truffle-clean
testrpc: testrpc-run # alias for testrpc-run
.PHONY: testrpc
testrpc-run: testrpc-kill
kin-sdk-core/truffle/scripts/testrpc-run.sh
.PHONY: testrpc-run
testrpc-kill:
kin-sdk-core/truffle/scripts/testrpc-kill.sh
.PHONY: testrpc-kill
clean: truffle-clean testrpc-kill
rm -f kin-sdk-core/truffle/truffle.log
rm -f kin-sdk-core/truffle/testrpc.log