gosora/update-deps-linux
Azareal 9859042f54 More fail-safes for weird occurences.
Avoid duplicating logic in the shell files.
2019-09-29 17:06:00 +10:00

19 lines
323 B
Plaintext

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