You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.2 KiB
51 lines
1.2 KiB
.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/kraken" \
|
|
--exclude-dir="test/hummingbot/connector/exchange/hitbtc" \
|
|
--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/uniswap_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
|
|
|