diff options
| author | Mitchell Riedstra <mitch@riedstra.dev> | 2023-01-03 19:32:02 -0500 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@riedstra.dev> | 2023-01-03 19:32:02 -0500 |
| commit | 95e648598f441ec5f0563ba3be136c7ab71c94bd (patch) | |
| tree | 58c7964a0c028d30eae370f19260f3d2df279909 | |
| parent | 5ee149d5279408c0a0ee3e7e91e88241b2fb17ff (diff) | |
| download | paste-95e648598f441ec5f0563ba3be136c7ab71c94bd.tar.gz paste-95e648598f441ec5f0563ba3be136c7ab71c94bd.tar.xz | |
Build the UI on each call of the build.sh script.
| -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'" . |
