summaryrefslogtreecommitdiff
path: root/Biz/Bild
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2021-01-15 14:04:04 -0500
committerBen Sima <ben@bsima.me>2021-01-15 14:19:24 -0500
commit25c02fbf517888238097cf82879eef3cd3828626 (patch)
tree674564063f60b685b9016b5e057e967b217654c9 /Biz/Bild
parenta15109d3679f6b0c411a6755448e636464b37def (diff)
Port lint to Haskell
Diffstat (limited to 'Biz/Bild')
-rw-r--r--Biz/Bild/Rules.nix1
-rw-r--r--Biz/Bild/ShellHook.sh4
2 files changed, 4 insertions, 1 deletions
diff --git a/Biz/Bild/Rules.nix b/Biz/Bild/Rules.nix
index 17461ef..c18c56e 100644
--- a/Biz/Bild/Rules.nix
+++ b/Biz/Bild/Rules.nix
@@ -152,6 +152,7 @@ in rec {
nixpkgs.ormolu
nixpkgs.python37Packages.black
nixpkgs.python37Packages.pylint
+ nixpkgs.shellcheck
nixpkgs.wemux
(pkgs.writeScriptBin "ftags" (builtins.readFile ../Ide/ftags.sh))
];
diff --git a/Biz/Bild/ShellHook.sh b/Biz/Bild/ShellHook.sh
index f545e27..05707dc 100644
--- a/Biz/Bild/ShellHook.sh
+++ b/Biz/Bild/ShellHook.sh
@@ -33,7 +33,9 @@ function deps() {
alias ghci="ghci -i$BIZ_ROOT -ghci-script $BIZ_ROOT/.ghci"
-alias lint=$BIZ_ROOT/Biz/Lint.py
+function lint {
+ runghc Biz.Lint $@
+}
function pie() {
runghc Biz.Pie $@