More fail-safes for weird occurences.
Avoid duplicating logic in the shell files.
This commit is contained in:
parent
235b7efa1a
commit
9859042f54
|
@ -1,6 +1,5 @@
|
|||
echo "Updating the dependencies"
|
||||
go get
|
||||
go get -u github.com/mailru/easyjson/...
|
||||
./update-deps-linux
|
||||
|
||||
echo "Updating Gosora"
|
||||
git stash
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
echo "Building the patcher"
|
||||
go generate
|
||||
./update-deps-linux
|
||||
go build -ldflags="-s -w" -o Patcher "./patcher"
|
|
@ -1,7 +1,5 @@
|
|||
echo "Installing the dependencies"
|
||||
go get -u github.com/mailru/easyjson/...
|
||||
easyjson -pkg common
|
||||
go get
|
||||
./update-deps-linux
|
||||
|
||||
echo "Building the installer"
|
||||
go build -ldflags="-s -w" -o Installer "./cmd/install"
|
||||
|
|
|
@ -1,9 +1,19 @@
|
|||
echo "Updating the dependencies"
|
||||
cp ./common/common_easyjson.tgo ./common/common_easyjson.go
|
||||
{
|
||||
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
|
||||
} || {
|
||||
go get -u github.com/mailru/easyjson/...
|
||||
go get
|
||||
}
|
Loading…
Reference in New Issue