From 25c02fbf517888238097cf82879eef3cd3828626 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 15 Jan 2021 14:04:04 -0500 Subject: Port lint to Haskell --- Biz/Bild/Rules.nix | 1 + Biz/Bild/ShellHook.sh | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'Biz/Bild') 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 $@ -- cgit v1.2.3