-
Notifications
You must be signed in to change notification settings - Fork 0
/
mgit.cabal
154 lines (146 loc) · 3.95 KB
/
mgit.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
cabal-version: 2.2
name: mgit
version: 0.1.0.0
synopsis: Multi-repo git tool
description:
Please see the README on GitHub at <https://github.com/cattingcat/mgit#readme>
category: git, tools, cli
homepage: https://github.com/cattingcat/mgit#readme
bug-reports: https://github.com/cattingcat/mgit/issues
author: Mark M
maintainer: [email protected]
copyright: 2019 Mark M
license: MIT
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
ChangeLog.md
flag use-pkg-config
default: True
description: Use pkg-config utility
source-repository head
type: git
location: https://github.com/cattingcat/mgit
common shared-properties
default-language: Haskell2010
default-extensions: NoImplicitPrelude MultiWayIf LambdaCase ViewPatterns OverloadedStrings NegativeLiterals NumDecimals BinaryLiterals HexFloatLiterals NumericUnderscores PartialTypeSignatures NamedWildCards ApplicativeDo Arrows PostfixOperators TupleSections DuplicateRecordFields NamedFieldPuns RecordWildCards DerivingStrategies EmptyDataDeriving StandaloneDeriving GeneralizedNewtypeDeriving DeriveGeneric DeriveFunctor DeriveAnyClass DerivingVia BangPatterns PatternSynonyms EmptyDataDecls TypeOperators LiberalTypeSynonyms DefaultSignatures GADTs MultiParamTypeClasses FunctionalDependencies KindSignatures DataKinds ScopedTypeVariables TypeApplications InstanceSigs TypeSynonymInstances FlexibleInstances FlexibleContexts ConstrainedClassMethods TypeFamilies ConstraintKinds RankNTypes PolyKinds ImplicitParams AllowAmbiguousTypes ImportQualifiedPost
ghc-options:
-Weverything
-Wcompat
-Wno-safe
-Wno-unused-top-binds
-Wno-missing-import-lists
-Wno-implicit-prelude
-Wno-unsafe
-Wno-missing-safe-haskell-mode
-Wno-missing-local-signatures
-Wno-all-missed-specialisations
-optP-Wno-nonportable-include-path
library
import: shared-properties
hs-source-dirs: src
exposed-modules:
Cli.CliParser
LibGit.GitLibCommands
Test
other-modules:
Foreign.CArray
Foreign.CStorableWrap
Foreign.CVector
Foreign.GitFileStatusEnumTest
Foreign.LibGit.AnnotatedCommit
Foreign.LibGit.Branch
Foreign.LibGit.Checkout
Foreign.LibGit.Commit
Foreign.LibGit.Common
Foreign.LibGit.Models
Foreign.LibGit.Refs
Foreign.LibGit.Remote
Foreign.LibGit.Repository
Foreign.LibGit.Status
Foreign.MyStruct
LibGit.AnnotatedCommit
LibGit.Branch
LibGit.Commit
LibGit.Common
LibGit.GitApp
LibGit.MGitApp
LibGit.Refs
LibGit.Remote
LibGit.Repository
LibGit.Status
MGit.BranchModels
MGit.Format
MGit.MonadGit
MGit.MonadMassAction
MGit.MonadMGit
MGit.MonadMultiRepo
MGit.RefModels
MGit.StatusModels
PrintTable.Cell
PrintTable.Print
PrintTable.SizingStrategies
Test.TestExts
Test.TestFfi
include-dirs:
include
c-sources:
cbits/test_ffi.c
cbits/git_integr.c
if !flag(use-pkg-config)
extra-libraries:
git2
if flag(use-pkg-config)
pkgconfig-depends:
libgit2 >1.0.0 && <2.0.0
build-depends:
array
, base
, bytestring
, c-storable-deriving
, directory
, filepath
, mtl
, optparse-applicative
, process
, tagged
, text
, time
, vector
executable mgit
import: shared-properties
main-is: Main.hs
-- other-modules: Main
hs-source-dirs: app
ghc-options:
-threaded
-rtsopts
-with-rtsopts=-N
build-depends:
base
, mgit
test-suite mgit-test
import: shared-properties
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Paths_mgit
hs-source-dirs:
test
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
array
, base
, bytestring
, c-storable-deriving
, directory
, filepath
, mgit
, mtl
, optparse-applicative
, process
, tagged
, text
, time
, vector