Update build instructions

... to bring them closer to what's described in MAINTAINERS.md.

In particular, the `cd` and `rm -f stack.yaml` steps were missing.
This commit is contained in:
Leonhard Markert 2020-02-18 09:59:02 +01:00 committed by Mihai Maruseac
parent 5f56a30469
commit ca7a4f4d4c

View File

@ -4,5 +4,6 @@ Checklist:
- [ ] On your own machine, in a _new directory_, you have successfully run the following set of commands (replace `$package` with the name of the package that is submitted, and `$version` with the version of the package you want to get into Stackage):
stack unpack $package-$version # $version is optional
stack init --resolver nightly
cd $package-$version
rm -f stack.yaml && stack init --resolver nightly
stack build --resolver nightly --haddock --test --bench --no-run-benchmarks