ShellCheck.cabal 2.0 KB
Newer Older
V
Vidar Holen 已提交
1
Name:             ShellCheck
V
Vidar Holen 已提交
2
Version:          0.3.7
J
John Chee 已提交
3
Synopsis:         Shell script analysis tool
A
Aycan iRiCAN 已提交
4
License:          AGPL-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 44 45
    build-depends:
      base >= 4 && < 5,
      containers,
      directory,
      json,
      mtl,
      parsec,
46
      regex-tdfa,
47
      QuickCheck >= 2.7.4
48 49 50 51
    exposed-modules:
      ShellCheck.Analytics
      ShellCheck.AST
      ShellCheck.Data
V
Vidar Holen 已提交
52
      ShellCheck.Options
53
      ShellCheck.Parser
54
      ShellCheck.Regex
55
      ShellCheck.Simple
56 57
    other-modules:
      Paths_ShellCheck
V
Vidar Holen 已提交
58 59

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

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