Refactor everything that's used all over into a common/ package and sync files from static/ into public/ so that public's not in the git.
This commit is contained in:
parent
d12817f4cc
commit
ec7298cce0
36 changed files with 112 additions and 902 deletions
7
Makefile
7
Makefile
|
@ -9,6 +9,13 @@ build:
|
|||
go build .
|
||||
|
||||
site:
|
||||
ifeq '$(OS)' 'Windows_NT'
|
||||
powershell "mkdir public -force"
|
||||
robocopy static public /nfl /ndl /njh /njs /COPY:DATSO /e
|
||||
else
|
||||
mkdir -p public
|
||||
rsync -av static/ public/
|
||||
endif
|
||||
go run tools/cmd/sitebuild/main.go
|
||||
|
||||
test: site
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue