Core

/bin/dev.bat (314 B)

 1
2
3
4
5
6
7
8
9
10
@ECHO OFF

rem Starts the app. It doesn't reload on Windows

cd %~dp0\..

echo "Windows doesn't allow reloading... sorry"
@ECHO ON
go.exe build -gcflags "all=-N -l" -o build/debug/{{{ .Exec }}}.exe .
build\debug\{{{ .Exec }}}.exe -v --addr=0.0.0.0 {{{ if .HasModule "marketing" }}}all{{{ else }}}server{{{ end }}}