summaryrefslogtreecommitdiffhomepage
path: root/scripts/stylish-haskell.sh
diff options
context:
space:
mode:
authorLuke Murphy <lukewm@riseup.net>2018-01-02 19:04:16 +0100
committerJasper Van der Jeugt <jaspervdj@gmail.com>2018-01-06 19:36:09 +0100
commitc604df8f0582b6b3b85c5df60ecc280fc8deb923 (patch)
treebeb990f563fa46f709309585d7e9562c00cb034b /scripts/stylish-haskell.sh
parent258b471597a8313b0aa9c0c3531eb8b5fce4596d (diff)
downloadstylish-haskell-c604df8f0582b6b3b85c5df60ecc280fc8deb923.tar.gz
Add scripts to run with pipe recipe.
Closes https://github.com/jaspervdj/stylish-haskell/issues/194.
Diffstat (limited to 'scripts/stylish-haskell.sh')
-rwxr-xr-xscripts/stylish-haskell.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/stylish-haskell.sh b/scripts/stylish-haskell.sh
new file mode 100755
index 0000000..a22712e
--- /dev/null
+++ b/scripts/stylish-haskell.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+# Ported from https://github.com/ndmitchell/hlint/blob/master/misc/travis.sh
+
+curl -sL https://raw.github.com/jaspervdj/stylish-haskell/master/scripts/latest.sh | sh -s -- stylish-haskell $*