#!/usr/bin/env sh if [ -z "${GOBIN}" ]; then GOBIN=go fi cd "$(dirname ${0})" export GO111MODULE=on set -e set -x ${GOBIN} mod download ${GOBIN} build -ldflags='-s -w' -tags='sqlite pam' -o gogs