gosora/update-deps-linux
2019-09-29 17:34:54 +10:00

16 lines
336 B
Plaintext

echo "Updating the dependencies"
{
cp ./common/common_easyjson.tgo ./common/common_easyjson.go
} || {
echo "Failed to copy bundled generated easyjson file"
}
{
$GO111MODULE = off
go get -u github.com/mailru/easyjson/...
easyjson -pkg common
} || {
echo "Defaulting to bundled generated easyjson file"
}
$GO111MODULE = auto
go get