Update repository URL
Pass temporary file name to external shell as `$0`
Add nix flake and update dependencies
Runscript is a tool like make
(or, perhaps, just
) which manages project-specific
commands. When you want to run your program, simply type run
.
For an example of a useful runscript, see the runfile for this repository.
sh
..run
file alongside a source-controlled run
fileexit
, nohup
)setpgid
Despite having -c
and -s
options for executing single commands and shell scripts, respectively, Runscript
won't emulate a POSIX shell perfectly. I'll try to make it useful enough for most use cases, but if you want a
POSIX shell, just use a POSIX shell. That being said, feel free to test the limitations of those two flags! I do have
to be able to execute shell scripts to implement the source
builtin.
Runscript is on the AUR as runscript-git
. Install it manually, or using your favourite AUR helper.
paru -S runscript-git
git clone https://git.sr.ht/~theonlymrcat/runscript
cd runscript
cargo install --release
Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0).
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.