Files
certigo/build
T
Christopher Denny 13d51d790d Added build file
Build file used by formula file for homebrew installation.
Basically just a copy of similar file from certstrap.
2016-06-13 15:09:10 -07:00

16 lines
297 B
Python
Executable File

#!/bin/bash -e
# Copyright (C) 2016 Square, Inc.
ORG_PATH="github.com/square"
REPO_PATH="${ORG_PATH}/certigo"
export GOPATH=${PWD}/gopath
rm -f $GOPATH/src/${REPO_PATH}
mkdir -p $GOPATH/src/${ORG_PATH}
ln -s ${PWD} $GOPATH/src/${REPO_PATH}
eval $(go env)
go build -o bin/certigo ${REPO_PATH}