Add support for an optional executable field in our package info.art files:
If the field is set (and points to a file within our package repo, for example) then a <package-name> "executable" will be created within $HOME/.arturo/packages/bin pointing to that file (= basically it will execute it using Arturo, via Bash), so... we could do dummy and get our pseudo-binary to run from anywhere. (provided the $PATH variable is correctly set, obviously).
For now, unfortunately this will work on Linux/macOS/BSD only, but I'm 100% open to see how we could make that work on Windows too! 😉 🚀
Type of change
[x] Enhancement (implementation update, or general performance enhancements)
[x] New feature (non-breaking change which adds functionality)
Description
Add support for an optional
executable
field in our packageinfo.art
files:If the field is set (and points to a file within our package repo, for example) then a
<package-name>
"executable" will be created within$HOME/.arturo/packages/bin
pointing to that file (= basically it will execute it using Arturo, via Bash), so... we could dodummy
and get our pseudo-binary to run from anywhere. (provided the $PATH variable is correctly set, obviously).For now, unfortunately this will work on Linux/macOS/BSD only, but I'm 100% open to see how we could make that work on Windows too! 😉 🚀
Type of change