Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Makefile - github.com/gyorb/hugo-dusk.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f84dfee7cab43aec349a8f8cbbfe3d91c40cc6ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

check: example
	# run html-tidy to check for errors http://www.html-tidy.org/
	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

clean:
	rm -rf build