github.com/platonnetwork/platon-go@v0.7.6/cases/Makefile (about) 1 2 .PHONY: clean-pyc clean-tmp 3 4 help: 5 @echo "clean-pyc - remove Python file artifacts" 6 @echo "lint - check style with autopep8" 7 @echo "test - run tests quickly with the default Python" 8 @echo "install - install requirements.txt python lib" 9 @echo "clean-tmp - remove run tmp" 10 11 12 clean: clean-tmp clean-pyc 13 14 clean-pyc: 15 find . -name '*.pyc' -exec rm -f {} + 16 find . -name '*.pyo' -exec rm -f {} + 17 find . -name '*~' -exec rm -f {} + 18 find . -name '__pycache__' -exec rm -rf {} + 19 20 clean-tmp: 21 rm -rf ./report + 22 rm -rf ./log + 23 rm -rf ./bug_log + 24 rm -rf ./allure-report + 25 rm -rf ./.pytest_cache + 26 rm -rf ./deploy/tmp + 27 28 lint: 29 find . -name '*.py' -exec autopep8 --max-line-length=120 --in-place --aggressive --ignore=E123,E133,E50 {} + 30 31 test: 32 py.test --tb native tests 33 34 install: 35 pip3 install -r requirements.txt 36