fix toml-test build script for Go 1.17

Fixes #62
This commit is contained in:
Cameron Moore 2021-11-22 18:51:50 -06:00
parent 37954d9b20
commit 1d4fc82ebc
No known key found for this signature in database
GPG key ID: AF96E12468D7553E

View file

@ -2,8 +2,8 @@
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
mkdir -p $DIR/goworkspace
export GOPATH=$DIR/goworkspace
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
export GOPATH=$DIR/goworkspace
go get github.com/BurntSushi/toml-test@latest # install test suite
go install github.com/BurntSushi/toml/cmd/toml-test-decoder@latest # e.g., install my parser
cp $GOPATH/bin/* .