diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2020-04-02 21:59:36 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2024-02-02 11:51:32 +0100 |
commit | 6360f3edd2a30aadfd197f8caaa6682979643ad6 (patch) | |
tree | 32c76d93efdc357d170abc33e997109c96fea3e9 | |
parent | 83816c2d44c2001eafbb9b118042ba46096c5d00 (diff) |
force buildscript to use go-1.14 for generate/format
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
-rwxr-xr-x | build.sh | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -1,4 +1,15 @@ #!/usr/bin/env sh +GOBIN=go-1.14.1 cd "$(dirname ${0})" -go-1.14.1 build -ldflags='-s -w' -tags='sqlite pam' + +${GOBIN} generate internal/assets/conf/conf.go +${GOBIN} fmt internal/assets/conf/conf_gen.go + +${GOBIN} generate internal/assets/templates/templates.go +${GOBIN} fmt internal/assets/templates/templates_gen.go + +${GOBIN} generate internal/assets/public/public.go +${GOBIN} fmt internal/assets/public/public_gen.go + +${GOBIN} build -ldflags='-s -w' -tags='sqlite pam' |