1
0
Fork 0
mirror of synced 2024-11-14 05:08:57 -05:00
ovpn-admin/build.sh

12 lines
250 B
Bash
Raw Normal View History

2021-10-05 11:09:29 -04:00
#!/usr/bin/env bash
2020-05-14 19:13:33 -04:00
PATH=$PATH:~/go/bin
2021-10-05 11:09:29 -04:00
cd frontend && npm install && npm run build && cd ..
packr2
2022-09-05 04:48:34 -04:00
CGO_ENABLED=1 GOOS=linux GOARCH=${GOARCH:-amd64} go build -a -tags netgo -ldflags "-linkmode external -extldflags -static -s -w" $@
packr2 clean