From d0b4c58c910385b85e0ebd5b3eac5fceb07785c6 Mon Sep 17 00:00:00 2001 From: Dorian Zedler Date: Sun, 17 Jul 2022 12:36:22 +0200 Subject: [PATCH] Chore: update makefile --- Makefile | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fe0192a..1188d15 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,7 @@ .ONESHELL: ; # recipes execute in same shell .NOTPARALLEL: ; # wait for this target to finish .EXPORT_ALL_VARIABLES: ; # send all vars to shell +.DEFAULT_GOAL := help UID := $(shell id -u) GID := $(shell id -g) @@ -15,4 +16,16 @@ pull: chown: sudo chown -R $(UID):$(GID) . deploy: - docker run --rm -it -v ~/.ssh:/root/.ssh -v ${PWD}:/docs squidfunk/mkdocs-material gh-deploy \ No newline at end of file + docker run --rm -it -v ~/.ssh:/root/.ssh -v ${PWD}:/docs squidfunk/mkdocs-material gh-deploy +clean: + rm -rf ./env ./site + +help: + @echo "=== Project build help ===" + @echo "" + @echo "These targets are available:" + @echo "- watch" + @echo "- pull" + @echo "- chown" + @echo "- deploy" + @echo "- clean"