dbf2b8606e
Travis should now build the patcher to see if that works. Merged menu.html into header.html Removed a redundant SetAdapter call in mysql.go. Fixed a bug where inserting will sometimes strip the spaces in strings. Bumped the minimum Go Version in schema.json to 1.10 Bumped the DBVersion to 1, so that we don't install these patches twice. The patcher was botched in the previous commit, drop menus and menu_items and run it again
11 lines
274 B
Plaintext
11 lines
274 B
Plaintext
echo "Building the patcher"
|
|
cp ./schema/schema.json ./schema/lastSchema.json
|
|
rm ./patcher/config.go
|
|
cp ./config.go ./patcher/config.go
|
|
rm ./patcher/common/site.go
|
|
cp ./common/site.go ./patcher/common/site.go
|
|
cd ./patcher
|
|
go generate
|
|
go build -o Patcher
|
|
mv ./Patcher ..
|
|
cd .. |