FanScript is used to compile a Fantom script into memory and run it via reflection.
Slots
- argsSource
-
Obj[] args
- compileSource
-
Pod compile()
- fileSource
-
File file
- makeSource
-
new make(BuildScript script, File file, Obj[]? args := null)
Make with script name, arguments are Fantom arguments passed to main method (**not** command line string arguments)
- runSource
-
override Void run()
Overrides build::Task.run
Doc inherited from build::Task.run
Run this task. If there is an error, the report them via the script's log and throw FatalBuildErr if the script should be terminated.