Expose only required modules of vervis:library in vervis.cabal
Only Vervis.Hook (for the hook programs) and Vervis.Application (for the web app program itself) are exposed now. I suppose more will be needed for tests. But now there's a clear distinction what's used by other components and what isn't.
This commit is contained in:
parent
bf0790b4e4
commit
c5bc60d9fa
1 changed files with 11 additions and 4 deletions
15
vervis.cabal
15
vervis.cabal
|
@ -38,7 +38,11 @@ flag library-only
|
|||
default: False
|
||||
|
||||
library
|
||||
exposed-modules: Control.Applicative.Local
|
||||
exposed-modules:
|
||||
Vervis.Application
|
||||
Vervis.Hook
|
||||
other-modules:
|
||||
Control.Applicative.Local
|
||||
Control.Concurrent.Local
|
||||
Control.Concurrent.ResultShare
|
||||
Control.Monad.Trans.Except.Local
|
||||
|
@ -123,7 +127,6 @@ library
|
|||
Vervis.Actor
|
||||
Vervis.ActorKey
|
||||
Vervis.API
|
||||
Vervis.Application
|
||||
Vervis.Avatar
|
||||
Vervis.BinaryBody
|
||||
Vervis.Changes
|
||||
|
@ -185,7 +188,6 @@ library
|
|||
Vervis.Handler.Ticket
|
||||
-- Vervis.Handler.Wiki
|
||||
-- Vervis.Handler.Workflow
|
||||
Vervis.Hook
|
||||
Vervis.KeyFile
|
||||
Vervis.Migration
|
||||
Vervis.Migration.Model
|
||||
|
@ -227,7 +229,7 @@ library
|
|||
-- Vervis.Widget.Workflow
|
||||
-- Vervis.Wiki
|
||||
Vervis.WorkItem
|
||||
-- other-modules:
|
||||
|
||||
default-extensions: TemplateHaskell
|
||||
QuasiQuotes
|
||||
OverloadedStrings
|
||||
|
@ -243,6 +245,7 @@ library
|
|||
ViewPatterns
|
||||
TupleSections
|
||||
RecordWildCards
|
||||
|
||||
build-depends: aeson
|
||||
-- For activity JSOn display in /inbox test page
|
||||
, aeson-pretty
|
||||
|
@ -404,6 +407,7 @@ library
|
|||
-- for reading gzipped darcs inventory via utils in
|
||||
-- Data.Attoparsec.ByteString.Local
|
||||
, zlib
|
||||
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
|
||||
|
@ -439,6 +443,7 @@ executable vervis-post-apply
|
|||
|
||||
test-suite test
|
||||
main-is: Spec.hs
|
||||
|
||||
default-extensions: TemplateHaskell
|
||||
QuasiQuotes
|
||||
OverloadedStrings
|
||||
|
@ -454,6 +459,7 @@ test-suite test
|
|||
DeriveDataTypeable
|
||||
ViewPatterns
|
||||
TupleSections
|
||||
|
||||
build-depends: base
|
||||
, vervis
|
||||
, yesod-test
|
||||
|
@ -467,6 +473,7 @@ test-suite test
|
|||
, transformers
|
||||
, hspec >= 2.0.0
|
||||
, aeson
|
||||
|
||||
hs-source-dirs: test
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
|
|
Loading…
Reference in a new issue