From 64bd689e557099f32dfaf5209ce55bc08ae3aca1 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Fri, 10 Sep 2021 18:13:24 +0200 Subject: Test both dbs (#205) * move scripts, allow testing both dbs with one cmd * tidy + vendor * update test.sh to ignore cache * put test commands directly in drone.yml * change CONTRIBUTING slightly * go ham on the readme --- build.sh | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100755 build.sh (limited to 'build.sh') diff --git a/build.sh b/build.sh deleted file mode 100755 index 65b258cba..000000000 --- a/build.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -set -eu - -COMMIT=$(git rev-list -1 HEAD) -VERSION=$(cat ./version) - -CGO_ENABLED=0 go build -trimpath \ - -tags 'netgo osusergo static_build' \ - -ldflags="-s -w -extldflags '-static' -X 'main.Commit=${COMMIT}' -X 'main.Version=${VERSION}'" \ - ./cmd/gotosocial -- cgit v1.3