From 194836918e39321df8ffac0bf6b2d66e990098dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Fri, 27 Nov 2020 21:51:55 +0100 Subject: [PATCH] remove build. --- build | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 build 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