5ETC=$(cd $(dirname $0) ; pwd)
6export GHCVER=$(sed -n "s/^ghc-version: \"\(.*\)\"/\1/p" "$ETC/../build-constraints.yaml")
8# Download and unpack the stack executable
10export PATH=$HOME/.local/bin:$PATH
11curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
13# Get new Stackage curator
14curl -L "https://github.com/commercialhaskell/curator/releases/download/commit-a79aadca0f6497ec6accc927df5be7c49f5de86a/curator.bz2" | bunzip2 > curator
20# curator's constraint command has target as a required parameter
21# because of a different constraints handling in minor LTS version bumps
22NIGHTLY="nightly-$(date +%Y-%m-%d)"
25 ./curator constraints --target=$NIGHTLY &&
26 ./curator snapshot-incomplete --target=$NIGHTLY &&
28 stack --resolver ghc-$GHCVER exec ./curator check-snapshot
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list