Files
labca/gui/setup.sh
Arjan H f922d2e6f5 Convert to go module because of issue with hcl/printer in GOPATH mode
cannot find package "github.com/hashicorp/hcl/hcl/printer" in any of:
        /usr/local/go/src/github.com/hashicorp/hcl/hcl/printer (from $GOROOT)
        /go/src/github.com/hashicorp/hcl/hcl/printer (from $GOPATH)
2021-02-13 11:23:05 +01:00

15 lines
207 B
Bash
Executable File

#!/bin/bash
set -e
[ -d bin ] || mkdir bin
[ -e bin/labca ] || set -ev
if [ ! -e bin/labca ]; then
go mod download
go build -o bin/labca main.go acme.go certificate.go dashboard.go
fi
bin/labca