The packcheck package
packcheck is a minimal yet complete "hello world" Haskell package with model
appveyor config files that can be used unmodified in any Haskell
package. The CI configs can be modified
declaratively to adapt to
kind of build scenario you can imagine.
The package includes
packcheck.sh, a high level universal super build script
to uniformly, consistently build and comprehensively sanity test a Haskell
package across build tools (stack/cabal) and across all platforms
(Linux/MacOS/Windows). You do not need to be familiar with any of the build
tools to use it.
To use it for CI, simply copy the
appveyor.yml config files from this
package to your package and that's it. It should work without modification,
of course you can edit them to customize. For use on local host, just copy
packcheck.sh script and put it in your
PATH. Run the script from
the package directory of the package you want to build.
$ packcheck.sh stack $ packcheck.sh cabal
This is also a minimal yet complete model package (with tests, benchmarks, Linux/MacOS/Windows CI already working) that can be used as a starting point to develop a new package. Beginners can use it to learn about haskell package metadata structure.
See the README for comprehensive documentation.
[Skip to Readme]
|Dependencies||base (>=4.8 && <5) [details]|
|Copyright||2017 Harendra Kumar|
|Source repository||head: git clone https://github.com/harendra-kumar/packcheck|
|Uploaded||Fri Jan 19 19:34:47 UTC 2018 by harendra|
|Downloads||87 total (87 in the last 30 days)|
|Rating||(no votes yet) [estimated by rule of succession]|
|Status||Docs available [build log]
Last success reported on 2018-01-19 [all 1 reports]
Hackage Matrix CI
For package maintainers and hackage trustees