diff --git a/build b/build deleted file mode 100644 index 9c27b57b..00000000 --- a/build +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -set -ex - -BUILD_TIME=`date -u +'%Y-%m-%dT%H:%M:%SZ'` -GIT_COMMIT=`git rev-parse --short HEAD` -GIT_BRANCH=`git rev-parse --symbolic-full-name --abbrev-ref HEAD` -GIT_DIRTY=`git diff-index --quiet HEAD -- || echo "✗-"` - -go build -o bin/neko -ldflags "-s -X 'demodesk/neko.buildDate=${BUILD_TIME}' -X 'demodesk/neko.gitCommit=${GIT_DIRTY}${GIT_COMMIT}' -X 'demodesk/neko.gitBranch=${GIT_BRANCH}'" -i cmd/neko/main.go