2021-10-05 11:09:29 -04:00
|
|
|
#!/usr/bin/env bash
|
2020-05-14 19:13:33 -04:00
|
|
|
|
2021-02-26 07:11:13 -05:00
|
|
|
PATH=$PATH:~/go/bin
|
2021-10-05 11:09:29 -04:00
|
|
|
|
|
|
|
#go get -u github.com/gobuffalo/packr/v2/packr2
|
2021-02-26 07:11:13 -05:00
|
|
|
|
|
|
|
cd frontend && npm install && npm run build && cd ..
|
|
|
|
|
|
|
|
packr2
|
|
|
|
|
2021-03-17 05:05:37 -04:00
|
|
|
CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -ldflags "-linkmode external -extldflags -static -s -w" -o ovpn-admin
|
2021-02-26 07:11:13 -05:00
|
|
|
|
|
|
|
packr2 clean
|