mirror of
https://github.com/flant/ovpn-admin.git
synced 2024-11-30 08:16:46 +02:00
12 lines
239 B
Bash
Executable File
12 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
|