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.
41 lines
650 B
Batchfile
41 lines
650 B
Batchfile
@echo off
|
|
echo Generating the dynamic code
|
|
go generate
|
|
if %errorlevel% neq 0 (
|
|
pause
|
|
exit /b %errorlevel%
|
|
)
|
|
|
|
echo Building the router generator
|
|
go build ./router_gen
|
|
if %errorlevel% neq 0 (
|
|
pause
|
|
exit /b %errorlevel%
|
|
)
|
|
echo Running the router generator
|
|
router_gen.exe
|
|
if %errorlevel% neq 0 (
|
|
pause
|
|
exit /b %errorlevel%
|
|
)
|
|
|
|
echo Building the query generator
|
|
go build ./query_gen
|
|
if %errorlevel% neq 0 (
|
|
pause
|
|
exit /b %errorlevel%
|
|
)
|
|
echo Running the query generator
|
|
query_gen.exe
|
|
if %errorlevel% neq 0 (
|
|
pause
|
|
exit /b %errorlevel%
|
|
)
|
|
|
|
echo Building the executable
|
|
go test -tags mssql
|
|
if %errorlevel% neq 0 (
|
|
pause
|
|
exit /b %errorlevel%
|
|
)
|
|
pause |