]>
BookStack Code Mirror - api-scripts/blob - go-export-page-content/build.sh
projects
/
api-scripts
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Added go-export-page-content example
[api-scripts]
/
go-export-page-content
/
build.sh
1
#!/bin/sh
2
3
GOOS=windows GOARCH=amd64 go build -ldflags "-s -w" -o bin/bookstack-export.exe
4
GOOS=linux GOARCH=amd64 go build -ldflags "-s -w" -o bin/bookstack-export
5
GOOS=darwin GOARCH=amd64 go build -ldflags "-s -w" -o bin/bookstack-export-macos
6
7
upx bin/*