This repository has been archived by the owner on Nov 7, 2020. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsmuggler.cabal
115 lines (102 loc) · 3.96 KB
/
smuggler.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
cabal-version: 2.4
name: smuggler
version: 0.2.0.0
synopsis: GHC Source Plugin that helps to manage imports
description:
== Usage
.
Add @smuggler@ to the dependencies of your project.
.
Then add the following options: @-fplugin=Smuggler.Plugin@
homepage: https://github.com/kowainik/smuggler
bug-reports: https://github.com/kowainik/smuggler/issues
license: MPL-2.0
license-file: LICENSE
author: Dmitrii Kovanikov, Veronika Romashkina
maintainer: Kowainik <[email protected]>
copyright: 2018-2019 Kowainik
category: Development, Refactoring
build-type: Simple
extra-doc-files: README.md
CHANGELOG.md
tested-with: GHC == 8.6.5
source-repository head
type: git
location: [email protected]:kowainik/smuggler.git
common common-options
build-depends: base ^>= 4.12
ghc-options: -Wall
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-Wcompat
-Widentities
-Wredundant-constraints
-fhide-source-paths
default-language: Haskell2010
default-extensions: DeriveGeneric
GeneralizedNewtypeDeriving
InstanceSigs
LambdaCase
OverloadedStrings
RecordWildCards
ScopedTypeVariables
StandaloneDeriving
TypeApplications
library
import: common-options
hs-source-dirs: src
exposed-modules: Smuggler.Anns
Smuggler.Loc
Smuggler.Parser
Smuggler.Plugin
-- Smuggler.Debug
-- Smuggler.Import
-- Smuggler.Name
build-depends: bytestring ^>= 0.10
, containers >= 0.5 && < 0.7
, filepath ^>= 1.4
, ghc ^>= 8.6.0
, ghc-exactprint ^>= 0.6
, unordered-containers ^>= 0.2.7
-- Debug dependencies; in separate section to comment easily before release
-- , fmt
-- , pretty-simple
-- , text
executable play-smuggler
import: common-options
hs-source-dirs: app
main-is: Main.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N
-- -fplugin=Smuggler.Plugin
build-depends: smuggler
test-suite smuggler-test
import: common-options
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Test.hs
other-modules: Test.BoolBoolUsed
Test.BoolBoolUnused
Test.BoolPartlyUsedFirst
Test.BoolPartlyUsedLast
Test.ConstructorsUnused
Test.Dummy
Test.ImplicitImportUsed
Test.ImplicitImportUnused
Test.ImportEmpty
Test.MultilineUnused
Test.TypeConstructorUsed
Test.TypeConstructorUnused
Test.TypeConstructorUnusedComma
Test.TypeUnused
Test.TypeUsed
Test.WildcardUsed
Test.WildcardUnused
build-depends: ansi-terminal
, directory
, filepath
, smuggler
ghc-options: -threaded -rtsopts -with-rtsopts=-N
-fno-warn-unused-imports
-fno-warn-missing-signatures
-fplugin=Smuggler.Plugin
-fplugin-opt=Smuggler.Plugin:test