File: ShellCheck.cabal

package info (click to toggle)
shellcheck 0.11.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,048 kB
  • sloc: haskell: 15,964; sh: 59; makefile: 14
file content (146 lines) | stat: -rw-r--r-- 3,962 bytes parent folder | download | duplicates (3)
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:             ShellCheck
Version:          0.11.0
Synopsis:         Shell script analysis tool
License:          GPL-3
License-file:     LICENSE
Category:         Static Analysis
Author:           Vidar Holen
Maintainer:       vidar@vidarholen.net
Homepage:         https://www.shellcheck.net/
Build-Type:       Simple
Cabal-Version:    1.18
Bug-reports:      https://github.com/koalaman/shellcheck/issues
Description:
  The goals of ShellCheck are:
  .
  * To point out and clarify typical beginner's syntax issues,
    that causes a shell to give cryptic error messages.
  .
  * To point out and clarify typical intermediate level semantic problems,
    that causes a shell to behave strangely and counter-intuitively.
  .
  * To point out subtle caveats, corner cases and pitfalls, that may cause an
    advanced user's otherwise working script to fail under future circumstances.

Extra-Doc-Files:
    README.md
    CHANGELOG.md
Extra-Source-Files:
    -- documentation
    shellcheck.1.md
    -- A script to build the man page using pandoc
    manpage
    -- convenience script for stripping tests
    striptests
    -- tests
    test/shellcheck.hs

source-repository head
    type: git
    location: git://github.com/koalaman/shellcheck.git

library
    hs-source-dirs: src
    if impl(ghc < 8.0)
      build-depends:
        semigroups
    build-depends:
      -- The lower bounds are based on GHC 7.10.3
      -- The upper bounds are based on GHC 9.12.1
      aeson                >= 1.4.0 && < 2.3,
      array                >= 0.5.1 && < 0.6,
      base                 >= 4.8.0.0 && < 5,
      bytestring           >= 0.10.6 && < 0.13,
      containers           >= 0.5.6 && < 0.9,
      deepseq              >= 1.4.1 && < 1.6,
      Diff                 >= 0.4.0 && < 1.1,
      fgl                  (>= 5.7.0 && < 5.8.1.0) || (>= 5.8.1.1 && < 5.9),
      filepath             >= 1.4.0 && < 1.6,
      mtl                  >= 2.2.2 && < 2.4,
      parsec               >= 3.1.14 && < 3.2,
      QuickCheck           >= 2.14.2 && < 2.17,
      regex-tdfa           >= 1.2.0 && < 1.4,
      transformers         >= 0.4.2 && < 0.7,

      -- getXdgDirectory from 1.2.3.0
      directory            >= 1.2.3 && < 1.4,

      -- When cabal supports it, move this to setup-depends:
      process
    exposed-modules:
      ShellCheck.AST
      ShellCheck.ASTLib
      ShellCheck.Analytics
      ShellCheck.Analyzer
      ShellCheck.AnalyzerLib
      ShellCheck.CFG
      ShellCheck.CFGAnalysis
      ShellCheck.Checker
      ShellCheck.Checks.Commands
      ShellCheck.Checks.ControlFlow
      ShellCheck.Checks.Custom
      ShellCheck.Checks.ShellSupport
      ShellCheck.Data
      ShellCheck.Debug
      ShellCheck.Fixer
      ShellCheck.Formatter.Format
      ShellCheck.Formatter.CheckStyle
      ShellCheck.Formatter.Diff
      ShellCheck.Formatter.GCC
      ShellCheck.Formatter.JSON
      ShellCheck.Formatter.JSON1
      ShellCheck.Formatter.TTY
      ShellCheck.Formatter.Quiet
      ShellCheck.Interface
      ShellCheck.Parser
      ShellCheck.Prelude
      ShellCheck.Regex
    other-modules:
      Paths_ShellCheck
    default-language: Haskell98

executable shellcheck
    if impl(ghc < 8.0)
      build-depends:
        semigroups
    build-depends:
      aeson,
      array,
      base,
      bytestring,
      containers,
      deepseq,
      Diff,
      directory,
      fgl,
      mtl,
      filepath,
      parsec,
      QuickCheck,
      regex-tdfa,
      transformers,
      ShellCheck
    default-language: Haskell98
    main-is: shellcheck.hs

test-suite test-shellcheck
    type: exitcode-stdio-1.0
    build-depends:
      aeson,
      array,
      base,
      bytestring,
      containers,
      deepseq,
      Diff,
      directory,
      fgl,
      filepath,
      mtl,
      parsec,
      QuickCheck,
      regex-tdfa,
      transformers,
      ShellCheck
    default-language: Haskell98
    main-is: test/shellcheck.hs