Chore: update makefile
This commit is contained in:
parent
d5c3c50a18
commit
d0b4c58c91
1 changed files with 14 additions and 1 deletions
13
Makefile
13
Makefile
|
@ -3,6 +3,7 @@
|
||||||
.ONESHELL: ; # recipes execute in same shell
|
.ONESHELL: ; # recipes execute in same shell
|
||||||
.NOTPARALLEL: ; # wait for this target to finish
|
.NOTPARALLEL: ; # wait for this target to finish
|
||||||
.EXPORT_ALL_VARIABLES: ; # send all vars to shell
|
.EXPORT_ALL_VARIABLES: ; # send all vars to shell
|
||||||
|
.DEFAULT_GOAL := help
|
||||||
|
|
||||||
UID := $(shell id -u)
|
UID := $(shell id -u)
|
||||||
GID := $(shell id -g)
|
GID := $(shell id -g)
|
||||||
|
@ -16,3 +17,15 @@ chown:
|
||||||
sudo chown -R $(UID):$(GID) .
|
sudo chown -R $(UID):$(GID) .
|
||||||
deploy:
|
deploy:
|
||||||
docker run --rm -it -v ~/.ssh:/root/.ssh -v ${PWD}:/docs squidfunk/mkdocs-material gh-deploy
|
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"
|
||||||
|
|
Loading…
Reference in a new issue