on master help sign in
Note that pull request template needs to be updated to match verify-package
93f2d1fAdam Bergmark
.github/PULL_REQUEST_TEMPLATE.md+2−2
@@ -7,7 +7,7 @@ Checklist:
7
7
8The script runs virtually the following commands in a clean directory:
8The script runs virtually the following commands in a clean directory:
9
9
10− stack unpack $package-$version # $version is optional
10+ stack unpack $package-$version # `-$version` is optional
11 cd $package-$version
11 cd $package-$version
12− rm -f stack.yaml && stack init --resolver nightly
12+ rm -f stack.yaml && stack init --resolver nightly --ignore-subdirs
13 stack build --resolver nightly --haddock --test --bench --no-run-benchmarks
13 stack build --resolver nightly --haddock --test --bench --no-run-benchmarks
verify-package+1
@@ -30,6 +30,7 @@ exit() {
30}
30}
31trap exit EXIT
31trap exit EXIT
32
32
33+# When updating these commands, make sure to update .github/PULL_REQUEST_TEMPLATE.md as well.
33cd "$dir"
34cd "$dir"
34stack unpack "$package"
35stack unpack "$package"
35cd "$(ls | head -n 1)"
36cd "$(ls | head -n 1)"