15420d4d89
Partially rewrote the forum permissions system to make it more stable. Moved config.go into it's own package in /config/ Removed Go Git as a dependency. Tweaked the GopherJS pulling. Fixed inserts where all the columns have default values. Reverted a silly tweak I made thinking that mOrder == order. Removed the /common/ hack from the patcher. Fixed a bug where the forum creator would ignore the visiblity value you provided. The tests now work again. Swapped a misplaced fmt.Println with a fmt.Printf. Fixed a bug in the installer where all the table logs would be on one line in the console. Added more logging to the installer.
45 lines
994 B
Plaintext
45 lines
994 B
Plaintext
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 GopherJS"
|
|
go get -u github.com/gopherjs/gopherjs/...
|
|
|
|
echo "Updating Gosora"
|
|
rm ./schema/lastSchema.json
|
|
cp ./schema/schema.json ./schema/lastSchema.json
|
|
git pull origin master
|
|
|
|
echo "Patching Gosora"
|
|
cd ./patcher
|
|
go generate
|
|
go build -o Patcher
|
|
mv ./Patcher ..
|
|
cd ..
|
|
./Patcher |