Skip to content

Releases: TheOnlyMrCat/runscript

Runscript 1.3.0 Release Candidate 2

05 Jan 20:06
Compare
Choose a tag to compare
Pre-release

Default positionals!

Adding $opt default_positionals to a runscript allows run to pass args which point to nonexistent targets to the default target instead, making it work more like a shell script. My recommendation is not to put it on everything, but only the scripts that need it.

The help message is now more helpful as well

The attached binaries are not installers!
Simply decompress them, and they (should) work. Put them on your $PATH if you want.

As seems to be usual, there's a linker error preventing me from creating a windows build.

Runscript 1.3.0 Release Candidate 1

20 Dec 21:04
Compare
Choose a tag to compare
Pre-release

Environment variables!

Environment variables can now be created/overriden in a runscript using bash-like syntax (MY_VAR=value). They are evaluated at the line they are declared, and don't have their values change between command executions unless there's another line with an env override.

There is now a flag to list all the scripts in a runfile (with a fancy colour display too)

Command executions containing interpolated arguments now display the evaluated form next to them

The attached binaries are not installers!
Simply decompress them, and they (should) work. Put them on your $PATH if you want.

No windows build for this pre-release due to a linker error.

Runscript 1.2.0

15 Nov 08:46
Compare
Choose a tag to compare

This "stabilises" rc.1, even though there hasn't been much testing anyway.

Full changelog of this version:

  • run checks parent directories for Runfiles when resolving targets.
  • Runscripts can include Runfiles.
  • Error formatting made more shell-like
  • Nonexistent positional arguments evaluate to "" instead of panicking

The attached binaries are not installers!
Simply decompress them, and they (should) work. Put them on your $PATH if you want.

I cannot provide a Windows build for this release due to a linker error when cross-compiling.

Runscript 1.2.0 Release Candidate 1

24 Oct 10:00
Compare
Choose a tag to compare
Pre-release

Nonexistent positional arguments, such as in the following example, will evaluate to an empty string if they are left unspecified, instead of panicking.

$ cat run
test $1 '==' '' && echo 'yay!'
$ run

Errors in included files will print a message acknowledging the nested nature of the error, instead of panicking. This behaviour will be expanded into a 'stack trace' in the next minor version

Runscript 1.2.0 Pre-release 2

24 Sep 07:41
Compare
Choose a tag to compare
Pre-release

Two major changes in this pre-release.

Runscripts can include other runscripts. The syntax is $include file, where file is a file selector in the same format as described in the 'Targets' section of the readme. Formal documentation will come at some point.

The error formatting has been changed to remove the dependency on codespan-reporting, and to make it more shell-like

There is no windows build for this pre-release due to a known linking issue when cross-compiling from mac.

The attached binaries are not installers!
Simply decompress them, and they (should) work. Put them on your $PATH if you want.

Runscript 1.2.0 Pre-release 1

20 Jul 08:49
Compare
Choose a tag to compare
Pre-release

This update makes run check parent directories for runscripts.

There's no windows binary for this pre-release due to a linker error.

The attached binaries are not installers!
Simply decompress them, and they (should) work. Put them on your $PATH if you want.

Runscript 1.1.0

14 Jul 23:51
Compare
Choose a tag to compare

This release adds support for "simple" globs: only patterns with *, ?, and {} are going to expand properly, but nothing else.

Issues addressed:

  • #1: "Simple" globs are now supported
  • Recursive run calls can now be chained and piped

The attached binaries are not installers!
Simply decompress them, and they (should) work. Put them on your $PATH if you want.

Runscript 1.0.1

01 Jul 08:52
Compare
Choose a tag to compare

Addresses some minor issues

  • It is now possible to get version information with the --version flag
  • Subcommands inherit standard input of parent, allowing the use of interactive programs such as lldb
  • Nonexistent target errors now integrate with codespan

The attached binaries are not installers!
Simply decompress them, and they (should) work. Put them on your $PATH if you want.

Runscript 1.0.0

01 Jul 04:44
Compare
Choose a tag to compare

The first stable release of runscript

The attached binaries are not installers!
Simply decompress them, and they (should) work. Put them on your $PATH if you want.

Runscript 1.0.0 release candidate 2

01 Jul 03:52
Compare
Choose a tag to compare
Pre-release

Used termcolor for phase messages

The attached binaries are not installers!
Simply decompress them, and they (should) work. Put them on your $PATH if you want.