diff options
author | Ben Sima <ben@bsima.me> | 2023-10-10 13:15:59 -0400 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2023-10-10 13:15:59 -0400 |
commit | 904de577261e7024373e7a42fd763184764238f9 (patch) | |
tree | 563e4968eab568466ae3e7a1c747dd24a77986c0 /Biz/Ide | |
parent | 6107f8178e26ada67e5d5ec60501e24528b3db56 (diff) |
Don't swallow namespace-parsing errors
Previously, if there was a problem with the inputs and bild failed to
determine the namespace, 'fromPath' would return 'Nothing' and then
'catMaybes' would drop the error-causing input altogether. In the one
time that I had a bad input, this made debugging incredibly difficult.
It's always a bad idea to swallow errors silently, so instead lets just
kill the program if we have bad inputs.
Diffstat (limited to 'Biz/Ide')
-rwxr-xr-x | Biz/Ide/ftags.bash (renamed from Biz/Ide/ftags) | 0 | ||||
-rwxr-xr-x | Biz/Ide/hoog.bash (renamed from Biz/Ide/hoog) | 0 | ||||
-rwxr-xr-x | Biz/Ide/hooks/commit-msg.bash (renamed from Biz/Ide/hooks/commit-msg) | 0 | ||||
-rwxr-xr-x | Biz/Ide/hooks/post-checkout.bash (renamed from Biz/Ide/hooks/post-checkout) | 0 | ||||
-rwxr-xr-x | Biz/Ide/hooks/post-merge.bash (renamed from Biz/Ide/hooks/post-merge) | 0 | ||||
-rwxr-xr-x | Biz/Ide/hooks/pre-commit.bash (renamed from Biz/Ide/hooks/pre-commit) | 0 | ||||
-rwxr-xr-x | Biz/Ide/hooks/pre-push.bash (renamed from Biz/Ide/hooks/pre-push) | 0 | ||||
-rwxr-xr-x | Biz/Ide/mktags.bash (renamed from Biz/Ide/mktags) | 0 | ||||
-rwxr-xr-x | Biz/Ide/ns.bash (renamed from Biz/Ide/ns) | 0 | ||||
-rwxr-xr-x | Biz/Ide/push.bash (renamed from Biz/Ide/push) | 0 | ||||
-rwxr-xr-x | Biz/Ide/repl.bash (renamed from Biz/Ide/repl) | 0 | ||||
-rwxr-xr-x | Biz/Ide/run.bash (renamed from Biz/Ide/run) | 0 | ||||
-rwxr-xr-x | Biz/Ide/ship.bash (renamed from Biz/Ide/ship) | 0 | ||||
-rwxr-xr-x | Biz/Ide/tidy.bash (renamed from Biz/Ide/tidy) | 0 | ||||
-rwxr-xr-x | Biz/Ide/tips | 13 | ||||
-rwxr-xr-x | Biz/Ide/tips.bash | 13 | ||||
-rwxr-xr-x | Biz/Ide/version.bash (renamed from Biz/Ide/version) | 0 |
17 files changed, 13 insertions, 13 deletions
diff --git a/Biz/Ide/ftags b/Biz/Ide/ftags.bash index 02d78c5..02d78c5 100755 --- a/Biz/Ide/ftags +++ b/Biz/Ide/ftags.bash diff --git a/Biz/Ide/hoog b/Biz/Ide/hoog.bash index 976f0d4..976f0d4 100755 --- a/Biz/Ide/hoog +++ b/Biz/Ide/hoog.bash diff --git a/Biz/Ide/hooks/commit-msg b/Biz/Ide/hooks/commit-msg.bash index 64e400d..64e400d 100755 --- a/Biz/Ide/hooks/commit-msg +++ b/Biz/Ide/hooks/commit-msg.bash diff --git a/Biz/Ide/hooks/post-checkout b/Biz/Ide/hooks/post-checkout.bash index 73488b0..73488b0 100755 --- a/Biz/Ide/hooks/post-checkout +++ b/Biz/Ide/hooks/post-checkout.bash diff --git a/Biz/Ide/hooks/post-merge b/Biz/Ide/hooks/post-merge.bash index c21211f..c21211f 100755 --- a/Biz/Ide/hooks/post-merge +++ b/Biz/Ide/hooks/post-merge.bash diff --git a/Biz/Ide/hooks/pre-commit b/Biz/Ide/hooks/pre-commit.bash index 2b4575c..2b4575c 100755 --- a/Biz/Ide/hooks/pre-commit +++ b/Biz/Ide/hooks/pre-commit.bash diff --git a/Biz/Ide/hooks/pre-push b/Biz/Ide/hooks/pre-push.bash index 0c313cb..0c313cb 100755 --- a/Biz/Ide/hooks/pre-push +++ b/Biz/Ide/hooks/pre-push.bash diff --git a/Biz/Ide/mktags b/Biz/Ide/mktags.bash index c83f319..c83f319 100755 --- a/Biz/Ide/mktags +++ b/Biz/Ide/mktags.bash diff --git a/Biz/Ide/ns b/Biz/Ide/ns.bash index e988bfe..e988bfe 100755 --- a/Biz/Ide/ns +++ b/Biz/Ide/ns.bash diff --git a/Biz/Ide/push b/Biz/Ide/push.bash index 2238e06..2238e06 100755 --- a/Biz/Ide/push +++ b/Biz/Ide/push.bash diff --git a/Biz/Ide/repl b/Biz/Ide/repl.bash index b10f0f0..b10f0f0 100755 --- a/Biz/Ide/repl +++ b/Biz/Ide/repl.bash diff --git a/Biz/Ide/run b/Biz/Ide/run.bash index f7b9d36..f7b9d36 100755 --- a/Biz/Ide/run +++ b/Biz/Ide/run.bash diff --git a/Biz/Ide/ship b/Biz/Ide/ship.bash index 33197c8..33197c8 100755 --- a/Biz/Ide/ship +++ b/Biz/Ide/ship.bash diff --git a/Biz/Ide/tidy b/Biz/Ide/tidy.bash index ec666ba..ec666ba 100755 --- a/Biz/Ide/tidy +++ b/Biz/Ide/tidy.bash diff --git a/Biz/Ide/tips b/Biz/Ide/tips deleted file mode 100755 index 21808eb..0000000 --- a/Biz/Ide/tips +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bash -echo "" -echo "bizdev" | figlet | lolcat -echo "" -echo " bild compile code" -echo " repl start a repl" -echo " deps manage dependencies with niv" -echo " tips show this message" -echo " lint auto-lint all changed files" -echo " push send a namespace to the cloud" -echo " ship lint, bild, and push one (or all) namespace(s)" -echo " tidy cleanup common working files" -echo "" diff --git a/Biz/Ide/tips.bash b/Biz/Ide/tips.bash new file mode 100755 index 0000000..ba458ac --- /dev/null +++ b/Biz/Ide/tips.bash @@ -0,0 +1,13 @@ +#!/usr/bin/env bash +echo "" +echo "bizdev" | figlet | lolcat +echo "" +echo " bild.bash compile code" +echo " repl.bash start a repl" +echo " deps.bash manage dependencies with niv" +echo " tips.bash show this message" +echo " lint.bash auto-lint all changed files" +echo " push.bash send a namespace to the cloud" +echo " ship.bash lint, bild, and push one (or all) namespace(s)" +echo " tidy.bash cleanup common working files" +echo "" diff --git a/Biz/Ide/version b/Biz/Ide/version.bash index 5b017d9..5b017d9 100755 --- a/Biz/Ide/version +++ b/Biz/Ide/version.bash |