diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2020-08-12 11:09:44 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2020-08-12 11:09:44 +0200 |
commit | 4001a5c053bb3bb2fec8761f6fc9331fbf2e2f83 (patch) | |
tree | 3971c36a3957c55ae04a12bbdae292cf9f5cc61b /Makefile | |
parent | a9706afe0f54faead48fc641e8b6f90ed5e403a4 (diff) | |
download | fuzzycat-4001a5c053bb3bb2fec8761f6fc9331fbf2e2f83.tar.gz fuzzycat-4001a5c053bb3bb2fec8761f6fc9331fbf2e2f83.zip |
basic scaffolding
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..7d73f56 --- /dev/null +++ b/Makefile @@ -0,0 +1,29 @@ +SHELL := /bin/bash + +.PHONY: deps +deps: ## Install dependencies from setup.py into pipenv + pipenv install '-e .' + +.PHONY: help +help: ## Print info about all commands + @echo "Commands:" + @echo + @grep -E '^[/.a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf " \033[01;32m%-40s\033[0m %s\n", $$1, $$2}' + +data/release_export_expanded.json.gz: ## Download release export + mkdir -p data + wget -c https://archive.org/download/fatcat_bulk_exports_2020-08-05/release_export_expanded.json.gz -O $@ + +.PHONY: black +black: ## Format all Python files + find . -name "*.py" -exec black {} \; + +.PHONY: dist +dist: ## Create source distribution + python setup.py sdist + +.PHONY: clean +clean: ## Clean all artifacts + rm -rf dist + rm -rf fuzzycat.egg-info/ + |