This commit is contained in:
altafan
2019-03-28 21:23:13 +01:00
parent 28ce184960
commit f0390b2d88
16 changed files with 855 additions and 17 deletions

9
scripts/build Normal file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
set -ex
PARENT_PATH=$(dirname $(cd $(dirname $0); pwd -P))
pushd $PARENT_PATH
mkdir -p build
GOOS=$1 GOARCH=$2 go build -o build/nigiri-$1-$2 ./cli
popd

10
scripts/install Normal file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
set -ex
PARENT_PATH=$(dirname $(cd $(dirname $0); pwd -P))
pushd $PARENT_PATH
dep ensure -v
go generate ./...
popd