Let's try a different approach.
This commit is contained in:
parent
9859042f54
commit
1285404a93
@ -4,16 +4,13 @@ echo "Updating the dependencies"
|
|||||||
} || {
|
} || {
|
||||||
echo "Failed to copy bundled generated easyjson file"
|
echo "Failed to copy bundled generated easyjson file"
|
||||||
}
|
}
|
||||||
go get
|
|
||||||
{
|
{
|
||||||
|
$GO111MODULE = off
|
||||||
|
go get -u github.com/mailru/easyjson/...
|
||||||
easyjson -pkg common
|
easyjson -pkg common
|
||||||
} || {
|
} || {
|
||||||
echo "Defaulting to bundled generated easyjson file"
|
echo "Defaulting to bundled generated easyjson file"
|
||||||
}
|
}
|
||||||
|
$GO111MODULE = auto
|
||||||
{
|
|
||||||
go get
|
go get
|
||||||
} || {
|
|
||||||
go get -u github.com/mailru/easyjson/...
|
|
||||||
go get
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user