hugo-coder-fork/Makefile

19 lines
485 B
Makefile
Raw Normal View History

2018-09-14 14:08:17 +00:00
.PHONY: release demo clean
2018-06-18 17:55:42 +00:00
demo:
2018-09-09 22:56:56 +00:00
mkdir -p demo/themes/hugo-coder
rsync -av exampleSite/ demo
2018-09-09 22:56:56 +00:00
rsync -av --exclude='demo' --exclude='exampleSite' --exclude='.git' . demo/themes/hugo-coder
cd demo && ./hugow serve -D
2018-09-14 14:08:17 +00:00
release:
mkdir -p demo/themes/hugo-coder
rsync -av exampleSite/ demo
rsync -av --exclude='demo' --exclude='exampleSite' --exclude='.git' . demo/themes/hugo-coder
cd demo && ./hugow
cd .. && rm -rf resources
cp -r demo/resources resources
2018-03-23 19:49:06 +00:00
clean:
2018-05-28 00:38:01 +00:00
rm -rf demo