You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
448 B

check: example
# run html-tidy to check for errors
find ./build/public *.html -printf '%p' -exec tidy -eq {} \;
serve: prep_example
# build the example site and serve
cd build && hugo serve
example: prep_example
# build the example
cd build && hugo
prep_example: clean
# prepare the example site
mkdir -p build/themes
cp -r exampleSite/* build
cd build/themes && ln -s ../../ hugo-dusk
rm -rf build