2018-04-07 05:27:25 +00:00
|
|
|
echo "Updating the MySQL Driver"
|
|
|
|
go get -u github.com/go-sql-driver/mysql
|
|
|
|
|
|
|
|
echo "Updating the PostgreSQL Driver"
|
|
|
|
go get -u github.com/lib/pq
|
|
|
|
|
|
|
|
echo "Updating the MSSQL Driver"
|
|
|
|
go get -u github.com/denisenkom/go-mssqldb
|
|
|
|
|
|
|
|
echo "Updating bcrypt"
|
|
|
|
go get -u golang.org/x/crypto/bcrypt
|
|
|
|
|
|
|
|
echo "Updating gopsutil"
|
|
|
|
go get -u github.com/Azareal/gopsutil
|
|
|
|
|
|
|
|
echo "Updating Gorilla WebSockets"
|
|
|
|
go get -u github.com/gorilla/websocket
|
|
|
|
|
|
|
|
echo "Updating Sourcemap (dependency for OttoJS)"
|
|
|
|
go get -u gopkg.in/sourcemap.v1
|
|
|
|
|
|
|
|
echo "Updating OttoJS"
|
|
|
|
go get -u github.com/robertkrimen/otto
|
|
|
|
|
|
|
|
echo "Updating the Rez Image Resizer"
|
|
|
|
go get -u github.com/bamiaux/rez
|
|
|
|
|
|
|
|
echo "Updating fsnotify"
|
|
|
|
go get -u github.com/fsnotify/fsnotify
|
|
|
|
|
|
|
|
echo "Updating Go Git"
|
|
|
|
go get -u gopkg.in/src-d/go-git.v4/...
|
|
|
|
|
|
|
|
echo "Updating GopherJS"
|
|
|
|
go get -u github.com/gopherjs/gopherjs
|
|
|
|
|
|
|
|
echo "Updating Gosora"
|
2018-04-22 12:33:56 +00:00
|
|
|
rm ./schema/lastSchema.json
|
|
|
|
cp ./schema/schema.json ./schema/lastSchema.json
|
2018-04-07 05:27:25 +00:00
|
|
|
git pull origin master
|
|
|
|
|
|
|
|
echo "Patching Gosora"
|
2018-04-22 14:27:04 +00:00
|
|
|
rm ./patcher/config.go
|
|
|
|
cp ./config.go ./patcher/config.go
|
|
|
|
rm ./patcher/common/site.go
|
|
|
|
cp ./common/site.go ./patcher/common/site.go
|
2018-04-07 05:27:25 +00:00
|
|
|
cd ./patcher
|
|
|
|
go generate
|
|
|
|
go build -o Patcher
|
|
|
|
mv ./Patcher ..
|
|
|
|
cd ..
|
|
|
|
./Patcher
|