b6d143e5d2
Angle-bracketed references are a Nix anti-pattern, and thankfully this repository enforces this as a standard. TL;DR: - Drop angle-bracketed references - Change `briefcase` -> `users.wpcarro` - Fix any resulting regressions - Fix //users/wpcarro/tools/simple_vim - Mark //users/wpcarro/boilerplate/typescript and related projects as broken - drop .skip-subtree file, enabling depot CI Change-Id: I7153cbabafa617bfd6b199370cbec65cb75441f6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4325 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: wpcarro <wpcarro@gmail.com> |
||
---|---|---|
.. | ||
.envrc | ||
default.nix | ||
main.go | ||
README.md | ||
shell.nix |
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 briefcase.run