hackage-meta: make download script use all versions

This commit is contained in:
Daniel Gröber 2016-10-30 22:46:12 +01:00
parent 3bb2e26b4d
commit 737b7c8d25

View File

@ -17,7 +17,7 @@
PACKAGE=$1
OUTDIR=$2
versions="$(wget -O - https://hackage.haskell.org/package/"$PACKAGE"/preferred.json | jq '."normal-version"[]' -r)"
versions="$(wget -O - https://hackage.haskell.org/package/"$PACKAGE"/preferred.json | jq '(."normal-version" + ."deprecated-version")[]' -r)"
#versions="$(wget -O - https://hackage.haskell.org/package/"$PACKAGE"/preferred.json | jq '."deprecated-version"[]' -r)"