packcheck-0.3.1: Universal build and CI testing for Haskell packages
This package contains a universal CI/build script packcheck.sh and config
files designed such that you can just copy over .travis.yml and
appveyor.yml to your package repo and your package is CI ready in a jiffy.
For local testing, copy packcheck.sh to your local machine, put it in your
PATH, and run it from your package directory:
$ packcheck.sh stack $ packcheck.sh cabal $ packcheck.sh cabal-new
You can try it on this package itself. packcheck.sh uniformly, consistently
builds and comprehensively sanity tests 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.
This is also a minimal yet complete model package (with tests, benchmarks, 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, benchmarks, tests, CI configs etc.
See the README for comprehensive documentation.
Signatures
Modules