Release configs

main
Cameron Murphy Reikes 2 years ago
parent dfdc804c01
commit a19902cc7c

1
.gitignore vendored

@ -61,7 +61,6 @@ desktop.rdbg
*.pdb *.pdb
# Kernel Module Compile Results # Kernel Module Compile Results
*.mod*
*.cmd *.cmd
.tmp_versions/ .tmp_versions/
modules.order modules.order

@ -6,7 +6,7 @@ mkdir build_web_release
call run_codegen.bat || goto :error call run_codegen.bat || goto :error
echo Building release echo Building release
emcc -sEXPORTED_FUNCTIONS=_main,_end_text_input -sEXPORTED_RUNTIME_METHODS=ccall,cwrap -DNDEBUG -O2 -DDEVTOOLS -s ALLOW_MEMORY_GROWTH -Ithirdparty -Igen main.c -o build_web_release\index.html --preload-file assets --shell-file web_template.html || goto :error emcc -sEXPORTED_FUNCTIONS=_main,_end_text_input -sEXPORTED_RUNTIME_METHODS=ccall,cwrap -DNDEBUG -O2 -s ALLOW_MEMORY_GROWTH -Ithirdparty -Igen main.c -o build_web_release\index.html --preload-file assets --shell-file web_template.html || goto :error
goto :EOF goto :EOF

@ -108,7 +108,7 @@ typedef enum EntityKind
#ifdef DEVTOOLS #ifdef DEVTOOLS
#define SERVER_URL "http://localhost:8090" #define SERVER_URL "http://localhost:8090"
#else #else
#error "No release server url defined" #define SERVER_URL "http://149.28.99.84:8090"
#endif #endif
// null terminator always built into buffers so can read properly from data // null terminator always built into buffers so can read properly from data

@ -0,0 +1,5 @@
module github.com/creikey/rpgpt
go 1.19
require github.com/sashabaranov/go-gpt3 v1.2.1 // indirect
Loading…
Cancel
Save