aboutsummaryrefslogtreecommitdiff
path: root/scripts/ci/update-cabal-versions.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/ci/update-cabal-versions.sh')
-rwxr-xr-xscripts/ci/update-cabal-versions.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/ci/update-cabal-versions.sh b/scripts/ci/update-cabal-versions.sh
new file mode 100755
index 0000000..52dd5d2
--- /dev/null
+++ b/scripts/ci/update-cabal-versions.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+# Example:
+# $ scripts/ci/update-cabal-versions.sh | tee tests/cabal-versions
+
+wget -q -O- https://hackage.haskell.org/package/Cabal/preferred.json \
+ | jq -r '."normal-version"[]' | sort -V