2b86a17478
Theme resources can now be restricted to logged in users to avoid wasting bandwidth. The template building step is now a flag to gosora.exe / Gosora. Added build_templates.bat for test and development purposes. Added some extra error checks to the batch files. Fixed a compile error in the installer. Fixed a big data race in the template transpiler and cleaned up a few loose ends. Renamed CTemplateSet.log() to CTemplateSet.detail() to bring it in line with the /common/ logging Renamed CTemplateSet.logf() to CTemplateSet.detailf() to bring it in line with the /common/ logging You can now override templates in /templates/ without overwriting them by adding a modified version of a template with the same name in /templates/overrides/ Added Go Git as a dependency. Removed config.go from the repository, you need to rely on the installer to generate this now, or make one yourself based on the implementation of it in the installer. Travis now does tests for Go 1.10 Began work on the upgrader.
44 lines
925 B
Plaintext
44 lines
925 B
Plaintext
echo "Installing the MySQL Driver"
|
|
go get -u github.com/go-sql-driver/mysql
|
|
|
|
echo "Installing the PostgreSQL Driver"
|
|
go get -u github.com/lib/pq
|
|
|
|
echo "Installing the MSSQL Driver"
|
|
go get -u github.com/denisenkom/go-mssqldb
|
|
|
|
echo "Installing bcrypt"
|
|
go get -u golang.org/x/crypto/bcrypt
|
|
|
|
echo "Installing gopsutil"
|
|
go get -u github.com/Azareal/gopsutil
|
|
|
|
echo "Installing Gorilla WebSockets"
|
|
go get -u github.com/gorilla/websocket
|
|
|
|
echo "Installing Sourcemap (dependency for OttoJS)"
|
|
go get -u gopkg.in/sourcemap.v1
|
|
|
|
echo "Installing OttoJS"
|
|
go get -u github.com/robertkrimen/otto
|
|
|
|
echo "Installing the Rez Image Resizer"
|
|
go get -u github.com/bamiaux/rez
|
|
|
|
echo "Installing fsnotify"
|
|
go get -u github.com/fsnotify/fsnotify
|
|
|
|
echo "Installing Go Git"
|
|
go get -u gopkg.in/src-d/go-git.v4/...
|
|
|
|
|
|
echo "Building the installer"
|
|
cd ./install
|
|
go generate
|
|
go build -o Install
|
|
mv ./Install ..
|
|
cd ..
|
|
|
|
echo "Running the installer"
|
|
./Install
|