c1e381eecc
TL;DR: - prefer WPCARRO env-var to BRIEFCASE - remove repository URLs from Emacs libraries - prefer tvl-depot-path where possible - reduce the scope of constants.el - prune (some not all) stale CI configuration Change-Id: I21e9130402502ec6fa2fc4b46753c890069be62d Reviewed-on: https://cl.tvl.fyi/c/depot/+/4545 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
478 B
478 B
run
Simplify the commands you call to run scripts on the command line.
> run path/to/file.py
> run path/to/file.ts
How?
Define a run.json configuration mapping commands to filename extensions like so:
{
".ts": "npx ts-node $file",
".py": "python3 $file"
}
Then call run path/to/some/file.ts
on the command line, and npx ts-node file.ts
will run.
Installation
Install run
using Nix.
> nix-env -iA users.wpcarro.run