refactor: create Git namespace
[git-rebase2.git] / git-rehi.cabal
blobb12ec1a4229c40a7ec3f53fabfd88fe6878cc645
1 name:                git-rehi
2 version:             0.6.0
3 synopsis:            Initial project template from stack
4 description:         Please see README.md
5 homepage:            http://github.com/max630/git-rehi#readme
6 license:             GPL-2
7 license-file:        LICENSE
8 author:              Max Kirillov
9 maintainer:          max@max630.net
10 category:            Git
11 build-type:          Simple
12 -- extra-source-files:
13 cabal-version:       >=1.10
15 executable git-rehi
16   hs-source-dirs:      app
17   main-is:             Rehi.hs
18   other-modules:       Rehi
19                        , Rehi.Git.Types
20                        , Rehi.Git.Commands
21                        , Rehi.Utils
22                        , Rehi.Utils.ArgList
23                        , Rehi.Utils.Regex
24                        , Rehi.Utils.IO
25   ghc-options:         -threaded -rtsopts -with-rtsopts=-N -main-is Rehi.main
26   build-depends:       base
27                        , bytestring
28                        , containers
29                        , HUnit
30                        , exceptions
31                        , mtl
32                        , process
33                        , transformers
34                        , directory
35                        , text
36   if os(windows)
37     build-depends:     regex-pcre-builtin
38                        , Win32
39     other-modules:     Rehi.Win32bits
40     extra-libraries:   ntdll
41   else
42     build-depends:     regex-pcre
43   default-language:    Haskell2010
45 executable git-rehi-test
46   hs-source-dirs:      app
47   main-is:             Test.hs
48   other-modules:       Rehi
49                        , Rehi.Git.Types
50                        , Rehi.Git.Commands
51                        , Rehi.Utils
52                        , Rehi.Utils.ArgList
53                        , Rehi.Utils.Regex
54                        , Rehi.Utils.IO
55   ghc-options:         -threaded -rtsopts -with-rtsopts=-N -main-is Test.main
56   build-depends:       base
57                        , bytestring
58                        , containers
59                        , HUnit
60                        , exceptions
61                        , mtl
62                        , process
63                        , transformers
64                        , directory
65                        , text
66   if os(windows)
67     other-modules:     Rehi.Win32bits
68     build-depends:     regex-pcre-builtin
69                        , Win32
70     extra-libraries:   ntdll
71   else
72     build-depends:     regex-pcre
73   default-language:    Haskell2010