62fea05e21
* generate a detailed CLI help * generate a documentation site * new readme
20 lines
410 B
Makefile
20 lines
410 B
Makefile
.PHONY: default clean hugo hugo-build
|
|
|
|
default: hugo
|
|
|
|
clean:
|
|
rm -rf public/
|
|
|
|
|
|
hugo-build: clean hugo-themes
|
|
hugo --enableGitInfo --source .
|
|
|
|
hugo:
|
|
hugo server --disableFastRender --enableGitInfo --watch --source .
|
|
# hugo server -D
|
|
|
|
hugo-themes:
|
|
rm -rf themes
|
|
mkdir themes
|
|
git clone --depth=1 https://github.com/matcornic/hugo-theme-learn.git themes/hugo-theme-learn
|
|
rm -rf themes/hugo-theme-learn/.git
|