ShellCheck.cabal 2.4 KB
Newer Older
V
Vidar Holen 已提交
1
Name:             ShellCheck
V
Vidar Holen 已提交
2
Version:          0.4.7
J
John Chee 已提交
3
Synopsis:         Shell script analysis tool
V
Vidar Holen 已提交
4
License:          GPL-3
V
Vidar Holen 已提交
5
License-file:     LICENSE
6
Category:         Static Analysis
V
Vidar Holen 已提交
7 8 9
Author:           Vidar Holen
Maintainer:       vidar@vidarholen.net
Homepage:         http://www.shellcheck.net/
10
Build-Type:       Custom
11
Cabal-Version:    >= 1.8
J
John Chee 已提交
12 13 14 15 16 17 18 19 20 21 22 23 24
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.

25 26 27 28
Extra-Source-Files:
    -- documentation
    README.md
    shellcheck.1.md
29 30
    -- built with a cabal sdist hook
    shellcheck.1
31
    -- tests
32
    test/shellcheck.hs
33

J
John Chee 已提交
34 35 36
source-repository head
    type: git
    location: git://github.com/koalaman/shellcheck.git
V
Vidar Holen 已提交
37 38

library
39 40 41 42 43
    build-depends:
      base >= 4 && < 5,
      containers,
      directory,
      json,
44
      mtl >= 2.2.1,
45
      parsec,
46
      regex-tdfa,
47 48 49
      QuickCheck >= 2.7.4,
      -- When cabal supports it, move this to setup-depends:
      process
50 51
    exposed-modules:
      ShellCheck.AST
52
      ShellCheck.ASTLib
53 54
      ShellCheck.Analytics
      ShellCheck.Analyzer
55
      ShellCheck.AnalyzerLib
56
      ShellCheck.Checker
57
      ShellCheck.Checks.Commands
V
Vidar Holen 已提交
58
      ShellCheck.Checks.ShellSupport
59
      ShellCheck.Data
60
      ShellCheck.Formatter.Format
61 62 63 64
      ShellCheck.Formatter.CheckStyle
      ShellCheck.Formatter.GCC
      ShellCheck.Formatter.JSON
      ShellCheck.Formatter.TTY
65
      ShellCheck.Interface
66
      ShellCheck.Parser
67
      ShellCheck.Regex
68 69
    other-modules:
      Paths_ShellCheck
V
Vidar Holen 已提交
70 71

executable shellcheck
72 73 74 75 76
    build-depends:
      base >= 4 && < 5,
      containers,
      directory,
      json,
77
      mtl >= 2.2.1,
78
      parsec,
79
      regex-tdfa,
80
      QuickCheck >= 2.7.4
V
Vidar Holen 已提交
81
    main-is: shellcheck.hs
82

R
Rodrigo Setti 已提交
83 84 85 86 87 88 89
test-suite test-shellcheck
    type: exitcode-stdio-1.0
    build-depends:
      base >= 4 && < 5,
      containers,
      directory,
      json,
90
      mtl >= 2.2.1,
R
Rodrigo Setti 已提交
91
      parsec,
92
      regex-tdfa,
93
      QuickCheck >= 2.7.4
R
Rodrigo Setti 已提交
94 95
    main-is: test/shellcheck.hs