gosora/dev-update-linux

17 lines
290 B
Plaintext

echo "Updating the dependencies"
go get
echo "Updating Gosora"
rm ./schema/lastSchema.json
cp ./schema/schema.json ./schema/lastSchema.json
git stash
git pull origin master
git stash apply
echo "Patching Gosora"
cd ./patcher
go generate
go build -o Patcher
mv ./Patcher ..
cd ..
./Patcher