-
Notifications
You must be signed in to change notification settings - Fork 7
/
git-vogue.cabal
146 lines (134 loc) · 4.46 KB
/
git-vogue.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
name: git-vogue
version: 0.3.0.2
synopsis: A framework for pre-commit checks.
description: Make your Haskell git repositories fashionable.
homepage: https://github.com/christian-marie/git-vogue
license: BSD3
license-file: LICENSE
author: Anchor Engineering (defunct)
maintainer: Christian Marie <[email protected]>, Oswyn Brent <[email protected]>
copyright: (c) 2018 Christian Marie, Anchor Systems, Pty Ltd and Others
category: Development
build-type: Simple
extra-source-files: README.md, changelog.txt
cabal-version: >= 2.0
data-files: templates/pre-commit
source-repository HEAD
type: git
location: https://github.com/christian-marie/git-vogue
flag gpl
default: True
description: Use GPL libraries, specifically hscolour
library
default-language: Haskell2010
hs-source-dirs: lib
exposed-modules: Git.Vogue
Git.Vogue.Types
Git.Vogue.VCS.Git
Git.Vogue.VCS.Null
Git.Vogue.PluginDiscoverer.Libexec
Git.Vogue.PluginCommon
autogen-modules: Paths_git_vogue
other-modules: Paths_git_vogue
build-depends: base >=4.8 && <5
, containers
, directory
, temporary
, filepath
, formatting
, optparse-applicative >= 0.11
, process
, split
, text
, transformers
, unix
executable git-vogue
default-language: Haskell2010
hs-source-dirs: src
autogen-modules: Paths_git_vogue
other-modules: Paths_git_vogue
main-is: git-vogue.hs
build-depends: base
, git-vogue
, optparse-applicative
, text
-- Cabal made breaking changes between 2.0 and 2.2, and is going to keep
-- changing I presume
Flag cabal
Description: build cabal plugin
Default: False
executable git-vogue-cabal
if flag(cabal)
build-depends: base
, Cabal >= 2.2
, git-vogue
else
buildable: False
default-language: Haskell2010
scope: private
hs-source-dirs: src
main-is: git-vogue-cabal.hs
executable git-vogue-hlint
default-language: Haskell2010
scope: private
hs-source-dirs: src
main-is: git-vogue-hlint.hs
build-depends: base
, bifunctors
, cpphs
, directory
, git-vogue
, haskell-src-exts
, hlint >= 2
, hscolour
if !flag(gpl)
cpp-options: -DGPL_SCARES_ME
executable git-vogue-packunused
default-language: Haskell2010
scope: private
hs-source-dirs: src
main-is: git-vogue-packunused.hs
build-depends: base
, git-vogue
, process
executable git-vogue-stylish
default-language: Haskell2010
scope: private
hs-source-dirs: src
main-is: git-vogue-stylish.hs
build-depends: base
, Diff
, git-vogue
, strict
, stylish-haskell >= 0.7
-- ghc_mod is off by default, and only sticking around in case it starts working
-- again one day with ghc 8.x
Flag ghc-mod
Description: build ghc-mod plugin
Default: False
executable git-vogue-ghc-mod
if flag(ghc-mod)
build-depends: base
, ghc-mod >= 5.8
, git-vogue
else
buildable: False
default-language: Haskell2010
scope: private
hs-source-dirs: src
main-is: git-vogue-ghc-mod.hs
test-suite unit
type: exitcode-stdio-1.0
default-language: Haskell2010
hs-source-dirs: tests
main-is: unit.hs
build-depends: base
, containers
, directory
, filepath
, git-vogue
, hspec
, process
, temporary
build-tools: git
-- vim: set tabstop=21 expandtab: