makefile: add makefile to run Hugo server with example site
This commit is contained in:
parent
239a1d4d83
commit
99828eca0e
2 changed files with 20 additions and 0 deletions
12
makefile
Normal file
12
makefile
Normal file
|
@ -0,0 +1,12 @@
|
|||
PWD ?= $(shell pwd)/
|
||||
|
||||
usage: ### Usage (default)
|
||||
@echo
|
||||
@echo "USAGE:"
|
||||
@echo " make command [options]"
|
||||
@echo
|
||||
@echo "COMMANDS:"
|
||||
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed 's/^/ /' | sed -e 's/\\$$//' | sed -e 's/#/ /g'
|
||||
|
||||
hugo-server: ## Run Hugo web server and serve the example site
|
||||
cd exampleSite; hugo server --themesDir ../../ -t hugo-theme-console
|
Loading…
Add table
Add a link
Reference in a new issue