-
Notifications
You must be signed in to change notification settings - Fork 19
/
glualint.cabal
140 lines (126 loc) · 3.43 KB
/
glualint.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
cabal-version: 3.0
name: glualint
version: 1.29.0
synopsis: Attempts to fix your syntax erroring Lua files.
description:
Linter for Lua, specifically the variant used in Garry's mod.
homepage: https://github.com/FPtje/GLuaFixer
bug-reports: https://github.com/FPtje/GLuaFixer/issues
license: LGPL-2.1-or-later
license-file: LICENSE
author: Falco Peijnenburg
maintainer: fpeijnenburg@gmail.com
copyright: Falco Peijnenburg
category: Language
build-type: Simple
extra-source-files:
README.md
tests/golden/data/input/*.lua
tests/golden/data/output/*.lua
source-repository head
type: git
location: git@github.com:FPtje/GLuaFixer.git
library
default-language: Haskell2010
build-depends:
, aeson >=2 && <3
, base >=4.5 && <5
, bytestring >=0.11 && <1
, containers >=0.6 && <1
, parsec >=3 && <4
, pretty >=1.1 && <1.2
, uuagc >=0.9.56 && <0.10
, uuagc-cabal >=1.3.1.0 && <2
hs-source-dirs: src
exposed-modules:
GLua.AG.AST
GLua.AG.PrettyPrint
GLua.AG.Token
GLua.ASTInstances
GLua.EncodingOptions
GLua.Lexer
GLua.LineLimitParser
GLua.ParseError
GLua.Parser
GLua.Position
GLua.TokenTypes
GLuaFixer.AG.ASTLint
GLuaFixer.AG.LexLint
GLuaFixer.BadSequenceFinder
GLuaFixer.Interface
GLuaFixer.LintMessage
GLuaFixer.LintSettings
ghc-options: -Wall -fno-warn-unused-do-bind
other-extensions:
CPP
FlexibleContexts
FlexibleInstances
MultiParamTypeClasses
NoMonomorphismRestriction
Rank2Types
TypeSynonymInstances
test-suite golden
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: tests/golden
build-depends:
, base
, bytestring
, filepath >=1.4 && <1.5
, glualint
, tasty >=1.4 && <2
, tasty-golden >=2.3 && <2.4
default-language: Haskell2010
test-suite linttest
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: tests/linttest
build-depends:
, base
, bytestring
, glualint
, tasty >=1.4 && <2
, tasty-hunit >=0.10 && <0.12
default-language: Haskell2010
executable glualint
-- Disable the executable for ghcjs and older versions of ghc. The executable
-- uses functions only available in ghc 8+
if !impl(ghc >=8.0.0)
buildable: False
main-is: GLuaFixer/Main.hs
other-modules:
GLuaFixer.Cli
GLuaFixer.Effects.AnalyseGlobals
GLuaFixer.Effects.Cli
GLuaFixer.Effects.Files
GLuaFixer.Effects.Interruptible
GLuaFixer.Effects.Logging
GLuaFixer.Effects.Run
GLuaFixer.Effects.Settings
GLuaFixer.Version
Paths_glualint
autogen-modules: Paths_glualint
other-extensions:
CPP
FlexibleContexts
FlexibleInstances
MultiParamTypeClasses
NoMonomorphismRestriction
Rank2Types
TypeSynonymInstances
build-depends:
, aeson
, base
, bytestring
, containers
, deepseq >=1.4 && <2
, directory >=1.3 && <2
, effectful >=2.2 && <3
, filemanip >=0.3 && <0.4
, filepath
, glualint
, optparse-applicative >=0.17 && <1
, signal >=0.1 && <0.2
hs-source-dirs: app
ghc-options: -O2 -Wall
default-language: Haskell2010