1
0
Fork 0
mirror of synced 2024-11-17 14:35:35 -05:00
ovpn-admin/build.sh
2021-11-29 13:40:05 +03:00

11 lines
239 B
Bash
Executable file

#!/usr/bin/env bash
PATH=$PATH:~/go/bin
cd frontend && npm install && npm run build && cd ..
packr2
CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -a -tags netgo -ldflags "-linkmode external -extldflags -static -s -w" $@
packr2 clean