Skip to content

Runscript 1.3.0

Choose a tag to compare

@TheOnlyMrCat TheOnlyMrCat released this 04 Mar 00:29
· 243 commits to master since this release

Full changelog of this version:

  • #2 The parser is rewritten without lalrpop, since a full LR(1) parser is overkill.
  • Added environment variables overrides with a sh-like syntax: MY_VAR=value. This exports the environment variable to processes next called in the script.
  • Added the -l flag to list all the scripts in a runscript
  • Made commands with interpolated arguments show the evaluation before executing the command
  • Updated the help message
  • Added the default_positionals option (and option syntax)
  • Added the $@ syntax to expand to all positional arguments
  • Added target selection syntax to select a specific phase on a target, for example: ::r will execute the 'run' phase on the default target
  • Added pre-globals: global targets which execute before the selected target
  • Added an easter egg which can be enabled by an environment variable

Due to a linker error, no windows build is provided.