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
|
default: False
|
||||||
|
|
||||||
library
|
library
|
||||||
exposed-modules: Control.Applicative.Local
|
exposed-modules:
|
||||||
|
Vervis.Application
|
||||||
|
Vervis.Hook
|
||||||
|
other-modules:
|
||||||
|
Control.Applicative.Local
|
||||||
Control.Concurrent.Local
|
Control.Concurrent.Local
|
||||||
Control.Concurrent.ResultShare
|
Control.Concurrent.ResultShare
|
||||||
Control.Monad.Trans.Except.Local
|
Control.Monad.Trans.Except.Local
|
||||||
|
@ -123,7 +127,6 @@ library
|
||||||
Vervis.Actor
|
Vervis.Actor
|
||||||
Vervis.ActorKey
|
Vervis.ActorKey
|
||||||
Vervis.API
|
Vervis.API
|
||||||
Vervis.Application
|
|
||||||
Vervis.Avatar
|
Vervis.Avatar
|
||||||
Vervis.BinaryBody
|
Vervis.BinaryBody
|
||||||
Vervis.Changes
|
Vervis.Changes
|
||||||
|
@ -185,7 +188,6 @@ library
|
||||||
Vervis.Handler.Ticket
|
Vervis.Handler.Ticket
|
||||||
-- Vervis.Handler.Wiki
|
-- Vervis.Handler.Wiki
|
||||||
-- Vervis.Handler.Workflow
|
-- Vervis.Handler.Workflow
|
||||||
Vervis.Hook
|
|
||||||
Vervis.KeyFile
|
Vervis.KeyFile
|
||||||
Vervis.Migration
|
Vervis.Migration
|
||||||
Vervis.Migration.Model
|
Vervis.Migration.Model
|
||||||
|
@ -227,7 +229,7 @@ library
|
||||||
-- Vervis.Widget.Workflow
|
-- Vervis.Widget.Workflow
|
||||||
-- Vervis.Wiki
|
-- Vervis.Wiki
|
||||||
Vervis.WorkItem
|
Vervis.WorkItem
|
||||||
-- other-modules:
|
|
||||||
default-extensions: TemplateHaskell
|
default-extensions: TemplateHaskell
|
||||||
QuasiQuotes
|
QuasiQuotes
|
||||||
OverloadedStrings
|
OverloadedStrings
|
||||||
|
@ -243,6 +245,7 @@ library
|
||||||
ViewPatterns
|
ViewPatterns
|
||||||
TupleSections
|
TupleSections
|
||||||
RecordWildCards
|
RecordWildCards
|
||||||
|
|
||||||
build-depends: aeson
|
build-depends: aeson
|
||||||
-- For activity JSOn display in /inbox test page
|
-- For activity JSOn display in /inbox test page
|
||||||
, aeson-pretty
|
, aeson-pretty
|
||||||
|
@ -404,6 +407,7 @@ library
|
||||||
-- for reading gzipped darcs inventory via utils in
|
-- for reading gzipped darcs inventory via utils in
|
||||||
-- Data.Attoparsec.ByteString.Local
|
-- Data.Attoparsec.ByteString.Local
|
||||||
, zlib
|
, zlib
|
||||||
|
|
||||||
hs-source-dirs: src
|
hs-source-dirs: src
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
|
|
||||||
|
@ -439,6 +443,7 @@ executable vervis-post-apply
|
||||||
|
|
||||||
test-suite test
|
test-suite test
|
||||||
main-is: Spec.hs
|
main-is: Spec.hs
|
||||||
|
|
||||||
default-extensions: TemplateHaskell
|
default-extensions: TemplateHaskell
|
||||||
QuasiQuotes
|
QuasiQuotes
|
||||||
OverloadedStrings
|
OverloadedStrings
|
||||||
|
@ -454,6 +459,7 @@ test-suite test
|
||||||
DeriveDataTypeable
|
DeriveDataTypeable
|
||||||
ViewPatterns
|
ViewPatterns
|
||||||
TupleSections
|
TupleSections
|
||||||
|
|
||||||
build-depends: base
|
build-depends: base
|
||||||
, vervis
|
, vervis
|
||||||
, yesod-test
|
, yesod-test
|
||||||
|
@ -467,6 +473,7 @@ test-suite test
|
||||||
, transformers
|
, transformers
|
||||||
, hspec >= 2.0.0
|
, hspec >= 2.0.0
|
||||||
, aeson
|
, aeson
|
||||||
|
|
||||||
hs-source-dirs: test
|
hs-source-dirs: test
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
ghc-options: -Wall
|
ghc-options: -Wall
|
||||||
|
|
Loading…
Reference in a new issue