gosora/update-deps-linux

19 lines
323 B
Plaintext
Raw Normal View History

echo "Updating the dependencies"
{
cp ./common/common_easyjson.tgo ./common/common_easyjson.go
} || {
echo "Failed to copy bundled generated easyjson file"
}
2019-09-29 06:49:57 +00:00
go get
2019-09-29 06:15:16 +00:00
{
easyjson -pkg common
2019-09-29 06:18:43 +00:00
} || {
echo "Defaulting to bundled generated easyjson file"
}
{
go get
} || {
go get -u github.com/mailru/easyjson/...
go get
}