-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
.PHONY: help | ||
.SILENT: | ||
|
||
help: | ||
@grep -E '^[a-zA-Z_-]+:.*?# .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?# "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' | ||
|
||
install: # Install base requirements to run project | ||
pip install -r requirements/base.txt | ||
|
||
dev-install: install # Install developer requirements + base requirements | ||
pip install -r requirements/test.txt | ||
|
||
test: # Test | ||
python -m tests | ||
|
||
build: # Build package | ||
python -m build | ||
|
||
publish: build # Publish on Pypi (https://packaging.python.org/en/latest/tutorials/packaging-projects/) | ||
python -m twine upload --repository pypi dist/* |