mirror of
https://github.com/ilyakooo0/optparse-applicative.git
synced 2024-11-22 22:18:13 +03:00
Move inclusion of Examples to other modules
This commit is contained in:
parent
06ccfc3449
commit
886bc367e9
@ -24,11 +24,6 @@ build-type: Simple
|
||||
cabal-version: >= 1.8
|
||||
extra-source-files: CHANGELOG.md
|
||||
README.md
|
||||
tests/Examples/Alternatives.hs
|
||||
tests/Examples/Cabal.hs
|
||||
tests/Examples/Commands.hs
|
||||
tests/Examples/Hello.hs
|
||||
tests/Examples/Formatting.hs
|
||||
tests/alt.err.txt
|
||||
tests/cabal.err.txt
|
||||
tests/carry.err.txt
|
||||
@ -57,23 +52,22 @@ library
|
||||
if impl(ghc >= 8.0)
|
||||
ghc-options: -Wno-redundant-constraints -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances
|
||||
|
||||
exposed-modules: Options.Applicative,
|
||||
Options.Applicative.Arrows,
|
||||
Options.Applicative.BashCompletion,
|
||||
Options.Applicative.Builder,
|
||||
Options.Applicative.Builder.Completer,
|
||||
Options.Applicative.Builder.Internal,
|
||||
Options.Applicative.Common,
|
||||
Options.Applicative.Extra,
|
||||
Options.Applicative.Help,
|
||||
Options.Applicative.Help.Chunk,
|
||||
Options.Applicative.Help.Core,
|
||||
Options.Applicative.Help.Levenshtein,
|
||||
Options.Applicative.Help.Pretty,
|
||||
Options.Applicative.Help.Types,
|
||||
Options.Applicative.Types,
|
||||
Options.Applicative.Internal
|
||||
|
||||
exposed-modules: Options.Applicative
|
||||
, Options.Applicative.Arrows
|
||||
, Options.Applicative.BashCompletion
|
||||
, Options.Applicative.Builder
|
||||
, Options.Applicative.Builder.Completer
|
||||
, Options.Applicative.Builder.Internal
|
||||
, Options.Applicative.Common
|
||||
, Options.Applicative.Extra
|
||||
, Options.Applicative.Help
|
||||
, Options.Applicative.Help.Chunk
|
||||
, Options.Applicative.Help.Core
|
||||
, Options.Applicative.Help.Levenshtein
|
||||
, Options.Applicative.Help.Pretty
|
||||
, Options.Applicative.Help.Types
|
||||
, Options.Applicative.Types
|
||||
, Options.Applicative.Internal
|
||||
|
||||
build-depends: base == 4.*
|
||||
, transformers >= 0.2 && < 0.6
|
||||
@ -95,6 +89,12 @@ test-suite optparse-applicative-tests
|
||||
hs-source-dirs:
|
||||
tests
|
||||
|
||||
other-modules: Examples.Alternatives
|
||||
, Examples.Cabal
|
||||
, Examples.Commands
|
||||
, Examples.Formatting
|
||||
, Examples.Hello
|
||||
|
||||
build-depends: base
|
||||
, bytestring == 0.10.*
|
||||
, optparse-applicative
|
||||
|
Loading…
Reference in New Issue
Block a user