Initial Commit
This commit is contained in:
12
themes/hugo-coder/Makefile
Normal file
12
themes/hugo-coder/Makefile
Normal file
@ -0,0 +1,12 @@
|
||||
HUGO_BIN=hugo
|
||||
|
||||
.PHONY: build demo release
|
||||
|
||||
build:
|
||||
$(HUGO_BIN) --themesDir=../.. --source=exampleSite
|
||||
|
||||
demo:
|
||||
$(HUGO_BIN) server -D --themesDir=../.. --source=exampleSite --bind 0.0.0.0
|
||||
|
||||
release: build
|
||||
rm -rf ./resources && cp -r ./exampleSite/resources ./resources
|
Reference in New Issue
Block a user