diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2020-09-19 01:49:50 -0400 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2020-09-19 01:52:49 -0400 |
| commit | 3b94493a21f227962a01ec0b11fd855178985604 (patch) | |
| tree | 6fbf6e17667c8848e93031aba1638e897b56eb85 /build.sh | |
| parent | 9b849e00766b1dd0dfc9d603c18c90be3493b97b (diff) | |
| download | go-website-3b94493a21f227962a01ec0b11fd855178985604.tar.gz go-website-3b94493a21f227962a01ec0b11fd855178985604.tar.xz | |
Allow for setting of the time format in the page library. Support tags. Rename Name to Path to better reflect what it is.v0.0.6
Diffstat (limited to 'build.sh')
| -rwxr-xr-x | build.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -5,7 +5,7 @@ LICENSE="$(cat LICENSE)" version="$(git log --format="%h %d" -1) Source code can be found here: -https://git.riedstra.us/mitch/go-website.git +https://git.riedstra.dev/mitch/go-website $LICENSE" @@ -13,4 +13,6 @@ if ! git diff-index --quiet HEAD ; then version="dirty: $version" fi +export CGO_ENABLED=0 + go build -ldflags="-X 'main.VersionString=$version'" ./cmd/server |
