mirror of
https://github.com/swarm-game/swarm.git
synced 2024-08-17 10:30:31 +03:00
Make sure Swarm builds with the most recent versions of dependencies. The only one that is still lagging is `filepath`, but `servant` doesn't support `filepath-1.5` so Swarm can't either. The only real update needed was due to some breaking changes in `aeson-2.2`, but the necessary changes were very minor. Also fixed a few places where GHC 9.8 is generating additional warnings. Also update our CI: `haskell-ci` recently dropped support for `hlint`, in favor of projects defining their own standalone `hlint` workflows.
22 lines
668 B
Plaintext
22 lines
668 B
Plaintext
-- 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
|
|
|
|
raw-project
|
|
flags: +ci
|