This commit is contained in:
2025-08-21 09:55:30 +02:00
parent 17cdfd8a0d
commit add4fb5c48
2 changed files with 3 additions and 3 deletions

View File

@@ -45,7 +45,7 @@ compile_cmd := if os.user_os() == 'macos' {
if prod_mode { if prod_mode {
'v -enable-globals -g -w -n -prod hero.v' 'v -enable-globals -g -w -n -prod hero.v'
} else { } else {
'v -n -g -w -cg -gc none -cc tcc -d use_openssl -enable-globals hero.v' 'v -n -g -w -cg -cc tcc -d use_openssl -enable-globals hero.v'
} }
} else { } else {
if prod_mode { if prod_mode {
@@ -56,7 +56,7 @@ compile_cmd := if os.user_os() == 'macos' {
} }
println('Building in ${if prod_mode { 'production' } else { 'debug' }} mode...') println('Building in ${if prod_mode { 'production' } else { 'debug' }} mode...')
// eprintln(compile_cmd) eprintln(compile_cmd)
if os.system(compile_cmd) != 0 { if os.system(compile_cmd) != 0 {
panic('Failed to compile hero.v with command: ${compile_cmd}') panic('Failed to compile hero.v with command: ${compile_cmd}')

View File

@@ -85,7 +85,7 @@ fn do() ! {
herocmds.cmd_git(mut cmd) herocmds.cmd_git(mut cmd)
herocmds.cmd_generator(mut cmd) herocmds.cmd_generator(mut cmd)
herocmds.cmd_docusaurus(mut cmd) herocmds.cmd_docusaurus(mut cmd)
herocmds.cmd_web(mut cmd) // herocmds.cmd_web(mut cmd)
cmd.setup() cmd.setup()
cmd.parse(os.args) cmd.parse(os.args)