mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
Use hugo-wrapper for demo target of exampleSite (#74)
hugow is a platform independent wrapper for hugo binary and it removes the need to actually have the correct binary installed, rather than controlling the required version through a version file checked in the repo.
This commit is contained in:
committed by
Luiz F. A. de Prá
parent
1114bddcd3
commit
ce21f192aa
6
Makefile
6
Makefile
@@ -1,10 +1,10 @@
|
||||
.PHONY: demo clear
|
||||
.PHONY: demo clean
|
||||
|
||||
demo:
|
||||
mkdir -p demo/themes/hugo-coder
|
||||
rsync -av exampleSite/* demo
|
||||
rsync -av exampleSite/ demo
|
||||
rsync -av --exclude='demo' --exclude='exampleSite' --exclude='.git' . demo/themes/hugo-coder
|
||||
cd demo && hugo serve -D
|
||||
cd demo && ./hugow serve -D
|
||||
|
||||
clean:
|
||||
rm -rf demo
|
||||
|
||||
Reference in New Issue
Block a user