3# Script to verify a package to build successfully
4# Provide pacakge name by the first argument
9# ./verify-package mtl-2.2.2
19if [[ -z $package ]]; then
20 die "Package name is not given"
24here="$(cd "$(dirname "$0")" > /dev/null; pwd)"
25dir="$(mktemp -d tmp.XXXX)"
33# When updating these commands, make sure to update .github/PULL_REQUEST_TEMPLATE.md as well.
35stack unpack "$package"
38stack init --resolver nightly --ignore-subdirs
39stack build --resolver nightly --haddock --test --bench --no-run-benchmarks
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