Delete Makefile
Browse files
Makefile
DELETED
|
@@ -1,41 +0,0 @@
|
|
| 1 |
-
.DEFAULT_GOAL := help
|
| 2 |
-
.PHONY: test system-deps dev-deps deps style lint install help docs
|
| 3 |
-
|
| 4 |
-
help:
|
| 5 |
-
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
|
| 6 |
-
|
| 7 |
-
target_dirs := tests trainer
|
| 8 |
-
|
| 9 |
-
test_all: ## run tests and don't stop on an error.
|
| 10 |
-
coverage run -m pytest trainer tests
|
| 11 |
-
|
| 12 |
-
test: ## run tests.
|
| 13 |
-
coverage run -m pytest -x trainer tests
|
| 14 |
-
|
| 15 |
-
test_failed: ## only run tests failed the last time.
|
| 16 |
-
coverage run -m pytest --ff trainer tests
|
| 17 |
-
|
| 18 |
-
style: ## update code style.
|
| 19 |
-
black ${target_dirs}
|
| 20 |
-
isort ${target_dirs}
|
| 21 |
-
|
| 22 |
-
lint: ## run pylint linter.
|
| 23 |
-
pylint ${target_dirs}
|
| 24 |
-
|
| 25 |
-
dev-deps: ## install development deps
|
| 26 |
-
pip install -r requirements.dev.txt
|
| 27 |
-
|
| 28 |
-
doc-deps: ## install docs dependencies
|
| 29 |
-
pip install -r docs/requirements.txt
|
| 30 |
-
|
| 31 |
-
build-docs: ## build the docs
|
| 32 |
-
cd docs && make clean && make build
|
| 33 |
-
|
| 34 |
-
deps: ## install 🐸 requirements.
|
| 35 |
-
pip install -r requirements.txt
|
| 36 |
-
|
| 37 |
-
install: ## install 🐸 Trainer for development.
|
| 38 |
-
pip install -e .[all]
|
| 39 |
-
|
| 40 |
-
docs: ## build the docs
|
| 41 |
-
$(MAKE) -C docs clean && $(MAKE) -C docs html
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|