github.com/ipfans/trojan-go@v0.11.0/docs/Makefile (about)

     1  .PHONY: default clean hugo hugo-build
     2  
     3  default: hugo
     4  
     5  clean:
     6  	rm -rf public/
     7  
     8  hugo-build: clean hugo-themes
     9  	hugo --enableGitInfo --source .
    10  
    11  hugo:
    12  	hugo server --disableFastRender --enableGitInfo --watch --source .
    13  	# hugo server -D
    14  
    15  hugo-themes:
    16  	rm -rf themes
    17  	mkdir themes
    18  	git clone --depth=1 https://github.com/llc1123/hugo-theme-techdoc.git themes/hugo-theme-techdoc
    19  	rm -rf themes/hugo-theme-techdoc/.git