This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// This file contains some helper properies, functions, and types that make writing other scripts a lot easier. | |
/// Put this and the related `rebuildBinaries.swift` file into a folder named "ScriptHelper" on the same level as | |
/// the scripts or adapt the paths below accordingly. | |
/// | |
/// To then use the helper in a Swift script you need to do three things: | |
/// 1. Compile it into an importable module | |
/// 2. Make it visible and linkable to your script and import it in its code | |
/// | |
/// For the first point there is a helper script provided, see `rebuildBinaries.swift`. It's also a Swift script, | |
/// but does not depend on these helpers. Used as is it compiles the module into a `bin` folder and simply names |