Browse Source

Provide a basic Makefile

master
Marien Fressinaud 5 years ago
parent
commit
c3d1e16568
1 changed files with 13 additions and 0 deletions
  1. 13
    0
      Makefile

+ 13
- 0
Makefile View File

@@ -0,0 +1,13 @@
.DEFAULT_GOAL := help

.PHONY: build
build: ## Build the website
python3 boop.py

.PHONY: clean
clean: ## Clean output files
rm -rf ./output ./__pycache__

.PHONY: help
help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'

Loading…
Cancel
Save