all files now have an implicit empty actor, even if there is no actor statement present
All checks were successful
Build / build-windows (push) Successful in 35s
Build / build-linux (push) Successful in 40s
Build / package-dist (push) Has been skipped

This commit is contained in:
2025-02-18 19:38:24 -06:00
parent 1ae73aed06
commit bff39b0e9f
4 changed files with 14 additions and 10 deletions

View File

@@ -151,7 +151,9 @@ core = custom_target('core.zip',
'cd ' + meson.project_source_root() +
' && echo "Rebuilding core.zip" && rm -f ' + meson.current_build_dir() + '/core.zip && ' +
'zip -r ' + meson.current_build_dir() + '/core.zip scripts fonts icons shaders'
]
],
build_always: true,
build_by_default: true
)
prosperon_raw = executable('prosperon_raw', sources,
@@ -179,7 +181,8 @@ prosperon = custom_target('prosperon',
'@INPUT1@',
'@OUTPUT@'
],
build_always: true
build_always: true,
build_by_default: true
)
prosperon_dep = declare_dependency(
@@ -194,7 +197,8 @@ copy_tests = custom_target(
join_paths(meson.source_root(), 'tests'),
meson.build_root()
],
build_always: true
build_always: true,
build_by_default: true
)
tests = [

View File

@@ -1237,11 +1237,10 @@ var script_fn = function script_fn(path) {
throw new Error(`Module ${module_name} must return a value`)
parsed.module_fn = module_fn
}
if (parsed.program) {
var prog_script = `(function use_${module_name}() { var self = this; var $ = this.__proto__; ${parsed.program}})`
parsed.prog_fn = js.eval(file, prog_script)
}
parsed.program ??= ""
var prog_script = `(function use_${module_name}() { var self = this; var $ = this.__proto__; ${parsed.program}})`
parsed.prog_fn = js.eval(file, prog_script)
return parsed
}.hashify()

View File

@@ -5881,8 +5881,10 @@ static const JSCFunctionListEntry js_debug_funcs[] = {
JSC_SCALL(io_rm,
if (!PHYSFS_delete(str)) ret = JS_ThrowReferenceError(js,"could not remove %s. %s", str, PHYSFS_getErrorByCode(PHYSFS_getLastErrorCode()));
)
JSC_SCALL(io_mkdir,
if (!PHYSFS_mkdir(str)) ret = JS_ThrowReferenceError(js,"could not make directory %s. %s", str, PHYSFS_getErrorByCode(PHYSFS_getLastErrorCode()));)
if (!PHYSFS_mkdir(str)) ret = JS_ThrowReferenceError(js,"could not make directory %s. %s", str, PHYSFS_getErrorByCode(PHYSFS_getLastErrorCode()));
)
JSC_SCALL(io_exists, ret = JS_NewBool(js,PHYSFS_exists(str)); )

View File

@@ -1 +0,0 @@
os.exit(1)