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
|
|
|
|
hlint-job: 9.0.2
|
|
|
|
hlint-yaml: .hlint.yaml
|
|
|
|
hlint-download-binary: True
|