ShellCheck.cabal 2.1 KB
Newer Older
V
Vidar Holen 已提交
1
Name:             ShellCheck
V
Vidar Holen 已提交
2
Version:          0.3.8
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 10
Author:           Vidar Holen
Maintainer:       vidar@vidarholen.net
Homepage:         http://www.shellcheck.net/
Build-Type:       Simple
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
      QuickCheck >= 2.7.4
48 49
    exposed-modules:
      ShellCheck.AST
50 51 52
      ShellCheck.Analytics
      ShellCheck.Analyzer
      ShellCheck.Checker
53
      ShellCheck.Data
54
      ShellCheck.Formatter.Format
55
      ShellCheck.Interface
56
      ShellCheck.Parser
57
      ShellCheck.Regex
58 59
    other-modules:
      Paths_ShellCheck
V
Vidar Holen 已提交
60 61

executable shellcheck
62 63 64 65 66 67
    build-depends:
      ShellCheck,
      base >= 4 && < 5,
      containers,
      directory,
      json,
68
      mtl >= 2.2.1,
69
      parsec,
70
      regex-tdfa,
71
      QuickCheck >= 2.7.4
V
Vidar Holen 已提交
72
    main-is: shellcheck.hs
73

R
Rodrigo Setti 已提交
74 75 76 77 78 79 80 81
test-suite test-shellcheck
    type: exitcode-stdio-1.0
    build-depends:
      ShellCheck,
      base >= 4 && < 5,
      containers,
      directory,
      json,
82
      mtl >= 2.2.1,
R
Rodrigo Setti 已提交
83
      parsec,
84
      regex-tdfa,
85
      QuickCheck >= 2.7.4
R
Rodrigo Setti 已提交
86 87
    main-is: test/shellcheck.hs