2018-09-14 14:08:17 +00:00
|
|
|
.PHONY: release demo clean
|
2018-06-18 17:55:42 +00:00
|
|
|
|
2018-08-21 19:26:15 +00:00
|
|
|
demo:
|
2018-09-09 22:56:56 +00:00
|
|
|
mkdir -p demo/themes/hugo-coder
|
2018-09-10 17:32:15 +00:00
|
|
|
rsync -av exampleSite/ demo
|
2018-09-09 22:56:56 +00:00
|
|
|
rsync -av --exclude='demo' --exclude='exampleSite' --exclude='.git' . demo/themes/hugo-coder
|
2018-09-10 17:32:15 +00:00
|
|
|
cd demo && ./hugow serve -D
|
2018-05-01 18:59:02 +00:00
|
|
|
|
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
|
2018-09-15 12:05:38 +00:00
|
|
|
cd ./demo && ./hugow
|
|
|
|
rm -rf ./resources && cp -r ./demo/resources ./resources
|
2018-09-14 14:08:17 +00:00
|
|
|
|
2018-03-23 19:49:06 +00:00
|
|
|
clean:
|
2018-05-28 00:38:01 +00:00
|
|
|
rm -rf demo
|