mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-11 23:08:30 +01:00
Note debian-bootstrap.sh in PR template
This commit is contained in:
parent
5db4a574b2
commit
9bdb21352d
15
.github/PULL_REQUEST_TEMPLATE.md
vendored
15
.github/PULL_REQUEST_TEMPLATE.md
vendored
@ -1,9 +1,9 @@
|
|||||||
Checklist:
|
Checklist:
|
||||||
- [ ] Meaningful commit message, eg `add my-cool-package` (please don't mention `build-constraints.yml`)
|
- [ ] Meaningful commit message, eg `add my-cool-package` (please don't mention `build-constraints.yml`)
|
||||||
- [ ] At least 30 minutes have passed since uploading to Hackage
|
- [ ] At least 30 minutes have passed since uploading to Hackage
|
||||||
- [ ] (Optional, replaced by GitHub Action check) On your own machine, you have successfully run the following command (find verify-package in the root of this repo):
|
- [ ] If applicable, required system libraries are added to [debian-bootstrap.sh](https://github.com/commercialhaskell/stackage/blob/master/debian-bootstrap.sh)
|
||||||
|
- [ ] (optional) Package is compatible with the latest version of all dependencies (Run `cabal update && cabal outdated`)
|
||||||
./verify-package $package # or $package-$version
|
- [ ] (optional) Package have been verified to work with the latest nightly snapshot, e.g by running the [verify-package script](https://github.com/commercialhaskell/stackage/blob/master/verify-package)
|
||||||
|
|
||||||
The script runs virtually the following commands in a clean directory:
|
The script runs virtually the following commands in a clean directory:
|
||||||
|
|
||||||
@ -11,12 +11,3 @@ The script runs virtually the following commands in a clean directory:
|
|||||||
cd $package-$version
|
cd $package-$version
|
||||||
rm -f stack.yaml && stack init --resolver nightly --ignore-subdirs
|
rm -f stack.yaml && stack init --resolver nightly --ignore-subdirs
|
||||||
stack build --resolver nightly --haddock --test --bench --no-run-benchmarks
|
stack build --resolver nightly --haddock --test --bench --no-run-benchmarks
|
||||||
|
|
||||||
|
|
||||||
### CI
|
|
||||||
|
|
||||||
Our CI tries to line up build-constraints.yaml with the current state
|
|
||||||
of Hackage. This means that failures that are unrelated to your PR may
|
|
||||||
cause the check to fail. If you think a failure is unrelated you can
|
|
||||||
simply ignore it and the Curators will let you know if there is
|
|
||||||
anything you need to do.
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Script to verify a package to build successfully
|
# Script to verify a package to build successfully
|
||||||
# Provide pacakge name by the first argument
|
# Provide package name by the first argument
|
||||||
#
|
#
|
||||||
# Example:
|
# Example:
|
||||||
# ./verify-package mtl
|
# ./verify-package mtl
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user