summaryrefslogtreecommitdiff
path: root/Biz/Ide/run
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2022-02-09 22:28:10 -0500
committerBen Sima <ben@bsima.me>2022-02-09 22:28:10 -0500
commit11b995a491978ad899e0555ceea7e20f10822766 (patch)
treea44fa245427f92c30d0002eabe9af191b2e38437 /Biz/Ide/run
parent648dc18aa15fb8e25d8d0a0f06e2be8f1a222ac5 (diff)
Add run script and rewrite ns
Diffstat (limited to 'Biz/Ide/run')
-rwxr-xr-xBiz/Ide/run6
1 files changed, 6 insertions, 0 deletions
diff --git a/Biz/Ide/run b/Biz/Ide/run
new file mode 100755
index 0000000..49cd72d
--- /dev/null
+++ b/Biz/Ide/run
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+set -eu
+target=$1
+shift
+out=$(rg --only-matching ": out (\w*)" -r '$1' $target)
+exec "$BIZ_ROOT/_/bin/$out" "$@"