10 lines
303 B
Bash
10 lines
303 B
Bash
|
|
||
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||
|
|
||
|
mkdir -p $DIR/goworkspace
|
||
|
export GOPATH=$DIR/goworkspace # if it isn't already set
|
||
|
go get github.com/BurntSushi/toml-test # install test suite
|
||
|
go get github.com/BurntSushi/toml/cmd/toml-test-decoder # e.g., install my parser
|
||
|
cp $GOPATH/bin/* .
|
||
|
|