summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2022-07-26 09:19:54 -0400
committerBen Sima <ben@bsima.me>2022-07-26 09:19:54 -0400
commit8e6f6d694b8c183efc64c2dd7becbd2195303fd9 (patch)
treebe60963e9937fc27b2b920ae65824750549a4505
parent4e4e88f1d58063f3e24195a6299f3bcdf0c304d2 (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--.envrc5
-rwxr-xr-xBiz/Ide/hooks/pre-commit2
-rwxr-xr-xBiz/Ide/lint2
3 files changed, 5 insertions, 4 deletions
diff --git a/.envrc b/.envrc
index 228ed82..cdcae62 100644
--- a/.envrc
+++ b/.envrc
@@ -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 $@