about summary refs log tree commit diff
path: root/tools/bin
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-08-19T23·26+0100
committerVincent Ambo <tazjin@google.com>2019-08-19T23·26+0100
commitb856648127e89321db338344019544a4fcdcbf93 (patch)
treed0ec017298c9faec2592d5a73aaa66a897feb1c4 /tools/bin
parent11fcf6229751eb266485cbba78d30aced1787d14 (diff)
feat(tools): Introduce ormolu for formatting Haskell code r/45
Diffstat (limited to 'tools/bin')
-rwxr-xr-xtools/bin/__dispatch.sh6
l---------tools/bin/ormolu (renamed from tools/bin/stylish-haskell)0
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/bin/__dispatch.sh b/tools/bin/__dispatch.sh
index 7af832c65f00..1df5957fda69 100755
--- a/tools/bin/__dispatch.sh
+++ b/tools/bin/__dispatch.sh
@@ -13,9 +13,6 @@ case "${TARGET_TOOL}" in
   git-appraise)
     attr="thirdParty.gitAppraise"
     ;;
-  stylish-haskell)
-    attr="haskellPackages.stylish-haskell"
-    ;;
   terraform)
     attr="terraform-gcp"
     ;;
@@ -25,6 +22,9 @@ case "${TARGET_TOOL}" in
   blog_cli)
     attr="tazjin.blog_cli"
     ;;
+  ormolu)
+    attr="ormolu"
+    ;;
   *)
     echo "The tool '${TARGET_TOOL}' is currently not installed in this repository."
     exit 1
diff --git a/tools/bin/stylish-haskell b/tools/bin/ormolu
index 8390ec9c9652..8390ec9c9652 120000
--- a/tools/bin/stylish-haskell
+++ b/tools/bin/ormolu