make: Add serve-gh-pages target
As github pages is served not on root but /go-org/ we need to move everything into a subdirectory of that name when serving locally
This commit is contained in:
parent
67951ec664
commit
f8b8e73722
2 changed files with 7 additions and 3 deletions
5
Makefile
5
Makefile
|
@ -33,6 +33,11 @@ generate-gh-pages: build
|
|||
generate-fixtures: build
|
||||
./etc/generate-fixtures
|
||||
|
||||
.PHONY: serve-gh-pages
|
||||
serve-gh-pages: generate-gh-pages
|
||||
cd docs && mkdir go-org && mv * go-org 2> /dev/null || true
|
||||
cd docs && python3 -m http.server
|
||||
|
||||
.PHONY: fuzz
|
||||
fuzz: build
|
||||
@echo also see "http://lcamtuf.coredump.cx/afl/README.txt"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue