-
Notifications
You must be signed in to change notification settings - Fork 0
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
Peter Nardi
authored
Nov 13, 2022
1 parent
5afd35f
commit 420ddd7
Showing
35 changed files
with
2,334 additions
and
357 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
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,28 @@ | ||
.PHONY: all | ||
all: help | ||
|
||
# -------------------------------------------- | ||
|
||
.PHONY: clean | ||
clean: ## Remove cached files and build products | ||
@echo Cleaning caches and build products | ||
@find . -type d -name .mypy_cache -exec rm -rf {} \; -prune | ||
@find . -type d -name __pycache__ -exec rm -rf {} \; -prune | ||
@find . -type d -name .ipynb_checkpoints -exec rm -rf {} \; -prune | ||
@echo Cleaning complete | ||
|
||
# -------------------------------------------- | ||
|
||
.PHONY: reset | ||
reset: clean ## clean, then remove .venv and .mypy cache | ||
@echo Resetting project state | ||
rm -rf .mypy_cache .venv | ||
|
||
# -------------------------------------------- | ||
|
||
.PHONY: help | ||
help: ## Show help | ||
@echo Please specify a target. Choices are: | ||
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk \ | ||
'BEGIN {FS = ":.*?## "}; \ | ||
{printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' |
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
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
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
Oops, something went wrong.