Fix demo for theme site

This commit is contained in:
Luiz de Prá
2018-09-09 19:56:56 -03:00
parent 6c80d2035a
commit 1114bddcd3
3 changed files with 5 additions and 5 deletions

View File

@@ -1,9 +1,9 @@
.PHONY: demo clear
demo:
mkdir -p demo/themes/coder
mkdir -p demo/themes/hugo-coder
rsync -av exampleSite/* demo
rsync -av --exclude='demo' --exclude='exampleSite' --exclude='.git' . demo/themes/coder
rsync -av --exclude='demo' --exclude='exampleSite' --exclude='.git' . demo/themes/hugo-coder
cd demo && hugo serve -D
clean: