From 3b94493a21f227962a01ec0b11fd855178985604 Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Sat, 19 Sep 2020 01:49:50 -0400 Subject: Allow for setting of the time format in the page library. Support tags. Rename Name to Path to better reflect what it is. --- build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'build.sh') diff --git a/build.sh b/build.sh index 1320fdf..21f46a5 100755 --- a/build.sh +++ b/build.sh @@ -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 -- cgit v1.2.3