diff options
author | Ben Sima <ben@bsima.me> | 2022-07-26 09:19:54 -0400 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2022-07-26 09:19:54 -0400 |
commit | 8e6f6d694b8c183efc64c2dd7becbd2195303fd9 (patch) | |
tree | be60963e9937fc27b2b920ae65824750549a4505 | |
parent | 4e4e88f1d58063f3e24195a6299f3bcdf0c304d2 (diff) |
Put _/bin on the PATH
The motivation for this was to prevent `lint` from rebuilding every time I ran
it. That was really annoying.
-rw-r--r-- | .envrc | 5 | ||||
-rwxr-xr-x | Biz/Ide/hooks/pre-commit | 2 | ||||
-rwxr-xr-x | Biz/Ide/lint | 2 |
3 files changed, 5 insertions, 4 deletions
@@ -10,9 +10,12 @@ # export BIZ_ROOT=$PWD # -# tools for editing go here +# scripts for editing go here PATH_add $BIZ_ROOT/Biz/Ide # +# bild outputs go here + PATH_add $BIZ_ROOT/_/bin +# # Biz/Dragons.hs: export GITHUB_CLIENT_ID=aa575dc96263bc99556d export GITHUB_CLIENT_STATE=$(cat /proc/sys/kernel/random/uuid) diff --git a/Biz/Ide/hooks/pre-commit b/Biz/Ide/hooks/pre-commit index 31a4e68..6978209 100755 --- a/Biz/Ide/hooks/pre-commit +++ b/Biz/Ide/hooks/pre-commit @@ -17,5 +17,5 @@ echo "info: version: $ns: $version" fi done - $BIZ_ROOT/Biz/Ide/lint **/* + lint **/* ## diff --git a/Biz/Ide/lint b/Biz/Ide/lint deleted file mode 100755 index f8bcc1e..0000000 --- a/Biz/Ide/lint +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/env bash -bild $BIZ_ROOT/Biz/Lint.hs && $BIZ_ROOT/_/bin/lint $@ |