Files
nigiri/scripts/build
Francis 63bdf3ce79 added Makefile (#99)
* added Makefile

* updated travis for makefile

* fixed travis

* fixed travis 2

* updated documentation for makefile
2020-09-18 16:13:35 +02:00

9 lines
166 B
Bash
Executable File

#!/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