9859042f54
Avoid duplicating logic in the shell files.
19 lines
323 B
Plaintext
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
|
|
} |