diff options
Diffstat (limited to 'build.sh')
| -rwxr-xr-x | build.sh | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,5 +1,6 @@ #!/bin/sh set -e +set -x LICENSE="$(cat LICENSE)" @@ -15,6 +16,10 @@ if ! git diff-index --quiet HEAD ; then version="dirty: $version" fi +cd ui +npm run build +cd .. + export CGO_ENABLED=0 go build -ldflags="-X 'main.Version=$version'" . |
