From 0f13d0d0fc36df3b985dd698e20e776899e1ede5 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Sat, 30 Sep 2017 11:48:08 -0700 Subject: [PATCH] remove old build.sh --- build.sh | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100755 build.sh diff --git a/build.sh b/build.sh deleted file mode 100755 index 4a44639..0000000 --- a/build.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh - -set -e -set -x - -dir="$(mktemp -d)" -plugdir="$dir/plugins" -githash="$(git rev-parse HEAD)" -wd="$(pwd)" -libc="glibc" - -[[ -f "/lib/libc.musl-x86_64.so.1" ]] && libc="musl" - -export GOBIN="$dir/bin" -go build git.xeserv.us/xena/route/cmd/... -go install git.xeserv.us/xena/route/cmd/... - -go build -buildmode plugin -o $plugdir/autohttpagent.so git.xeserv.us/xena/route/plugins/autohttpagent - -cd $dir -tar czf "$wd/route-$libc-$githash.tgz" * -cd $wd - -rm -rf $dir