2022-06-04 23:04:26 +03:00
|
|
|
-- See cabal.haskell-ci in the tool repository for all field explanations
|
|
|
|
-- https://github.com/haskell-CI/haskell-ci/blob/master/cabal.haskell-ci
|
|
|
|
|
|
|
|
-- --no-tests --no-benchmarks build is useful to verify that package
|
|
|
|
-- builds when less constrained
|
|
|
|
-- But Swarm constrains all library dependencies and tests almost not at all
|
|
|
|
no-tests-no-benchmarks: False
|
|
|
|
unconstrained: False
|
|
|
|
|
|
|
|
-- Run cabal-docspec
|
|
|
|
docspec: True
|
|
|
|
|
|
|
|
-- Build haddocks. Accepts booleans or version range.
|
|
|
|
haddock: True
|
|
|
|
|
|
|
|
-- Build benchmarks. There are no way to run benchmarks. Accepts booleans or version range.
|
|
|
|
-- Swarm has benchmarks so at least build them :)
|
|
|
|
benchmarks: True
|
|
|
|
|
|
|
|
-- Run HLint
|
2022-06-09 01:40:29 +03:00
|
|
|
hlint: True
|
2022-10-13 23:48:56 +03:00
|
|
|
hlint-job: 9.2.4
|
2022-06-09 01:40:29 +03:00
|
|
|
hlint-yaml: .hlint.yaml
|
2022-06-08 16:06:59 +03:00
|
|
|
hlint-download-binary: True
|
|
|
|
|
|
|
|
raw-project
|
|
|
|
flags: +ci
|