Skip to content

luasandbox: Add `RunScriptNamed`

Warren Gifford requested to merge ef/luasandbox-fs into main

Created by: efritz

Add RunScriptNamed to the sandbox that allows a directory of scripts (with an indicated target) to be loaded. Within scripts, loadfile can be used to wrap the contents of the script in a function.

Test plan

Tested by hand in branch with tests that require additional (currently unpublished) code.

Merge request reports

Loading