Skip to content

Commit

Permalink
DRY up cabal file
Browse files Browse the repository at this point in the history
  • Loading branch information
JackKelly-Bellroy committed Jul 5, 2024
1 parent c264b20 commit 5b0b4e4
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions unliftio-servant-server.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -31,24 +31,18 @@ source-repository head
type: git
location: https://github.com/bellroy/unliftio-servant-server.git

common opts
default-language: Haskell2010
library
hs-source-dirs: src
exposed-modules: UnliftIO.Servant.Server
ghc-options:
-Wall -Wcompat -Widentities -Wincomplete-record-updates
-Wincomplete-uni-patterns -Werror=incomplete-patterns
-Wredundant-constraints -Wpartial-fields -Wtabs
-Wmissing-local-signatures -fhelpful-errors
-fprint-expanded-synonyms -fwarn-unused-do-bind

common deps
build-depends:
, base >=4.14 && <4.20
, mtl >=2.2.2 && <2.4
, servant >=0.19 && <0.21
, servant-server >=0.19 && <0.21
, unliftio >=0.1.0.0 && <0.3.0.0

library
import: deps, opts
hs-source-dirs: src
exposed-modules: UnliftIO.Servant.Server

0 comments on commit 5b0b4e4

Please sign in to comment.