@@ -11,11 +11,6 @@ maintainer: nick@typeable.io
1111category: Web
1212build-type: Simple
1313
14−flag openapi
15− description: Enable openapi instances
16− default: False
17− manual: True
18−
1914common warnings
2015 ghc-options: -Wall
2116
@@ -23,6 +18,7 @@ library
2318 import: warnings
2419 exposed-modules: Web.Tracking.Servant
2520 other-modules: Web.Tracking.Servant.Types
21+ -- other-extensions:
2622 build-depends: base >=4.14.0.0 && < 5,
2723 bytestring >= 0.11,
2824 containers >= 0.6,
@@ -32,9 +28,5 @@ library
3228 servant-client-core >= 0.19,
3329 servant-server >= 0.19,
3430 wai >= 3.2
35− if flag(openapi)
36− other-modules: Web.Tracking.Servant.OpenAPI
37− build-depends: servant-openapi3
38− cpp-options: -DOPENAPI
3931 hs-source-dirs: src
4032 default-language: GHC2021