on master help sign in
Note that pull request template needs to be updated to match verify-package
commit93f2d1f238f45b8da1157949622779228fceb017 authorAdam Bergmark <adam@bergmark.nl> dateMon 15 Mar 2021, 23:41 (6 years ago) parentf9500a1
2 files changed+3−2
.github/PULL_REQUEST_TEMPLATE.md+2−2 verify-package+1
.github/PULL_REQUEST_TEMPLATE.md+2−2
@@ -7,7 +7,7 @@ Checklist:
77
88The script runs virtually the following commands in a clean directory:
99
10− stack unpack $package-$version # $version is optional
10+ stack unpack $package-$version # `-$version` is optional
1111 cd $package-$version
12− rm -f stack.yaml && stack init --resolver nightly
12+ rm -f stack.yaml && stack init --resolver nightly --ignore-subdirs
1313 stack build --resolver nightly --haddock --test --bench --no-run-benchmarks
verify-package+1
@@ -30,6 +30,7 @@ exit() {
3030}
3131trap exit EXIT
3232
33+# When updating these commands, make sure to update .github/PULL_REQUEST_TEMPLATE.md as well.
3334cd "$dir"
3435stack unpack "$package"
3536cd "$(ls | head -n 1)"