mirror of
https://github.com/christian1701/hugo-theme-console.git
synced 2025-11-02 21:49:23 +01:00
makefile: add makefile to run Hugo server with example site
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user