forked from hummingbot/hummingbot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
51 lines (42 loc) · 1.15 KB
/
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
46
47
48
49
50
51
.ONESHELL:
.PHONY: test
.PHONY: run_coverage
.PHONY: report_coverage
.PHONY: development-diff-cover
.PHONY: docker
.PHONY: install
.PHONY: uninstall
.PHONY: clean
.PHONY: build
test:
coverage run -m nose \
--exclude-dir="test/connector" \
--exclude-dir="test/debug" \
--exclude-dir="test/mock" \
--exclude-dir="test/hummingbot/connector/gateway/amm" \
--exclude-dir="test/hummingbot/connector/exchange/coinbase_pro" \
--exclude-dir="test/hummingbot/connector/exchange/hitbtc" \
--exclude-dir="test/hummingbot/connector/exchange/foxbit" \
--exclude-dir="test/hummingbot/connector/gateway/clob_spot/data_sources/dexalot" \
--exclude-dir="test/hummingbot/strategy/amm_arb" \
--exclude-dir="test/hummingbot/core/gateway" \
--exclude-dir="test/hummingbot/strategy/amm_v3_lp"
run_coverage: test
coverage report
coverage html
report_coverage:
coverage report
coverage html
development-diff-cover:
coverage xml
diff-cover --compare-branch=origin/development coverage.xml
docker:
git clean -xdf && make clean && docker build -t hummingbot/hummingbot${TAG} -f Dockerfile .
clean:
./clean
install:
./install
uninstall:
./uninstall
build:
./compile