bf851bd9fc
Added support for dyntmpl to the template system. The Account Dashboard now sort of uses dyntmpl, more work needed here. Renamed the pre_render_view_topic hook to pre_render_topic. Added the GetCurrentLangPack() function. Added the alerts_no_new_alerts phrase. Added the account_level_list phrase. Refactored the route rename logic in the patcher to cut down on the amount of boilerplate. Added more route renames to the patcher. You will need to run the patcher / updater in this commit.
32 lines
586 B
Plaintext
32 lines
586 B
Plaintext
echo "Deleting artifacts from previous builds"
|
|
rm -f template_*.go
|
|
rm -f gen_*.go
|
|
rm -f tmpl_client/template_*.go
|
|
rm -f ./Gosora
|
|
|
|
echo "Building the router generator"
|
|
cd ./router_gen
|
|
go build -o RouterGen
|
|
mv ./RouterGen ..
|
|
cd ..
|
|
echo "Running the router generator"
|
|
./RouterGen
|
|
|
|
echo "Building the query generator"
|
|
cd ./cmd/query_gen
|
|
go build -o QueryGen
|
|
mv ./QueryGen ../..
|
|
cd ../..
|
|
echo "Running the query generator"
|
|
./QueryGen
|
|
|
|
echo "Building Gosora"
|
|
go generate
|
|
go build -o Gosora -tags no_ws
|
|
|
|
echo "Building the installer"
|
|
cd ./install
|
|
go build -o Installer
|
|
mv ./Installer ..
|
|
cd ..
|