1
0
Fork 0
mirror of synced 2024-05-26 03:51:15 -04:00
ovpn-admin/build.sh
2022-12-30 17:25:21 +03:00

9 lines
229 B
Bash
Executable file

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