19 lines
561 B
Makefile
19 lines
561 B
Makefile
default: ## Build the website
|
|
./scripts/spellcheck.sh --check
|
|
./scripts/zola.sh build
|
|
|
|
clean: ## Clean build assets
|
|
./scripts/zola.sh clean
|
|
|
|
deploy: ## Deploy build
|
|
./scripts/zola.sh deploy pages public
|
|
|
|
env: ## Download build dependencies and setup dev environement
|
|
./scripts/zola.sh install
|
|
|
|
help: ## Prints help for targets with comments
|
|
@cat $(MAKEFILE_LIST) | grep -E '^[a-zA-Z_-]+:.*?## .*$$' | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
|
|
|
|
serve: ## Serve website during development
|
|
./scripts/zola.sh zola -- serve
|