2013-06-18 09:29:39 -07:00
|
|
|
Name: ShellCheck
|
2025-08-03 16:19:11 -07:00
|
|
|
Version: 0.11.0
|
2014-01-13 19:14:18 -08:00
|
|
|
Synopsis: Shell script analysis tool
|
2015-06-20 09:52:07 -07:00
|
|
|
License: GPL-3
|
2013-06-18 09:29:39 -07:00
|
|
|
License-file: LICENSE
|
2014-01-19 13:03:05 -08:00
|
|
|
Category: Static Analysis
|
2013-06-18 09:29:39 -07:00
|
|
|
Author: Vidar Holen
|
|
|
|
|
Maintainer: vidar@vidarholen.net
|
2017-12-14 01:06:43 -05:00
|
|
|
Homepage: https://www.shellcheck.net/
|
2019-11-16 10:44:48 -08:00
|
|
|
Build-Type: Simple
|
2021-05-18 11:06:12 +08:00
|
|
|
Cabal-Version: 1.18
|
2014-01-13 19:14:18 -08:00
|
|
|
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.
|
|
|
|
|
|
2026-03-11 19:47:56 -07:00
|
|
|
tested-with: GHC == 8.0, GHC == 8.10, GHC == 9.0.1, GHC == 9.4.7, GHC == 9.6.6
|
2026-02-09 13:16:26 +09:00
|
|
|
|
2021-05-18 11:06:12 +08:00
|
|
|
Extra-Doc-Files:
|
|
|
|
|
README.md
|
|
|
|
|
CHANGELOG.md
|
2014-06-01 17:53:16 +02:00
|
|
|
Extra-Source-Files:
|
|
|
|
|
-- documentation
|
|
|
|
|
shellcheck.1.md
|
2019-11-16 10:44:48 -08:00
|
|
|
-- A script to build the man page using pandoc
|
|
|
|
|
manpage
|
2018-12-02 18:40:56 -08:00
|
|
|
-- convenience script for stripping tests
|
|
|
|
|
striptests
|
2014-06-01 17:53:16 +02:00
|
|
|
-- tests
|
2014-06-01 21:35:45 +02:00
|
|
|
test/shellcheck.hs
|
2014-06-01 17:53:16 +02:00
|
|
|
|
2014-01-13 19:14:18 -08:00
|
|
|
source-repository head
|
|
|
|
|
type: git
|
2025-09-30 18:49:48 +01:00
|
|
|
location: https://github.com/koalaman/shellcheck.git
|
2013-06-18 09:29:39 -07:00
|
|
|
|
|
|
|
|
library
|
2018-03-08 19:57:40 +02:00
|
|
|
hs-source-dirs: src
|
2018-04-02 11:44:18 -05:00
|
|
|
if impl(ghc < 8.0)
|
|
|
|
|
build-depends:
|
|
|
|
|
semigroups
|
2014-02-28 19:44:09 +01:00
|
|
|
build-depends:
|
2022-12-11 12:29:05 -08:00
|
|
|
-- The lower bounds are based on GHC 7.10.3
|
2025-07-22 14:40:25 -07:00
|
|
|
-- The upper bounds are based on GHC 9.12.1
|
2023-10-14 18:12:51 -04:00
|
|
|
aeson >= 1.4.0 && < 2.3,
|
2022-12-11 12:29:05 -08:00
|
|
|
array >= 0.5.1 && < 0.6,
|
|
|
|
|
base >= 4.8.0.0 && < 5,
|
2023-10-14 18:12:51 -04:00
|
|
|
bytestring >= 0.10.6 && < 0.13,
|
2025-07-22 14:40:25 -07:00
|
|
|
containers >= 0.5.6 && < 0.9,
|
2026-02-07 20:06:17 +09:00
|
|
|
deepseq >= 1.4.2 && < 1.6,
|
2024-11-03 13:56:51 -08:00
|
|
|
Diff >= 0.4.0 && < 1.1,
|
2023-05-01 00:02:53 -04:00
|
|
|
fgl (>= 5.7.0 && < 5.8.1.0) || (>= 5.8.1.1 && < 5.9),
|
2024-11-03 14:19:08 -08:00
|
|
|
filepath >= 1.4.0 && < 1.6,
|
2023-05-01 00:02:53 -04:00
|
|
|
mtl >= 2.2.2 && < 2.4,
|
2022-12-11 12:29:05 -08:00
|
|
|
parsec >= 3.1.14 && < 3.2,
|
2025-07-18 19:27:05 +08:00
|
|
|
QuickCheck >= 2.14.2 && < 2.17,
|
2022-12-11 12:29:05 -08:00
|
|
|
regex-tdfa >= 1.2.0 && < 1.4,
|
2023-05-01 00:02:53 -04:00
|
|
|
transformers >= 0.4.2 && < 0.7,
|
2022-12-11 12:29:05 -08:00
|
|
|
|
|
|
|
|
-- getXdgDirectory from 1.2.3.0
|
|
|
|
|
directory >= 1.2.3 && < 1.4,
|
|
|
|
|
|
2016-01-13 14:10:21 -08:00
|
|
|
-- When cabal supports it, move this to setup-depends:
|
|
|
|
|
process
|
2014-02-28 19:44:09 +01:00
|
|
|
exposed-modules:
|
|
|
|
|
ShellCheck.AST
|
2015-08-16 12:53:23 -07:00
|
|
|
ShellCheck.ASTLib
|
2015-08-15 12:51:13 -07:00
|
|
|
ShellCheck.Analytics
|
|
|
|
|
ShellCheck.Analyzer
|
2016-04-10 17:01:40 -07:00
|
|
|
ShellCheck.AnalyzerLib
|
2022-07-19 14:23:27 -07:00
|
|
|
ShellCheck.CFG
|
|
|
|
|
ShellCheck.CFGAnalysis
|
2015-08-15 12:51:13 -07:00
|
|
|
ShellCheck.Checker
|
2016-04-10 17:01:40 -07:00
|
|
|
ShellCheck.Checks.Commands
|
2022-07-19 14:23:27 -07:00
|
|
|
ShellCheck.Checks.ControlFlow
|
2019-07-02 20:07:05 -07:00
|
|
|
ShellCheck.Checks.Custom
|
2016-11-12 15:51:36 -08:00
|
|
|
ShellCheck.Checks.ShellSupport
|
2014-02-28 19:44:09 +01:00
|
|
|
ShellCheck.Data
|
2022-07-19 14:23:27 -07:00
|
|
|
ShellCheck.Debug
|
2018-12-17 20:14:49 -08:00
|
|
|
ShellCheck.Fixer
|
2015-08-15 12:51:13 -07:00
|
|
|
ShellCheck.Formatter.Format
|
2015-09-05 19:17:22 -07:00
|
|
|
ShellCheck.Formatter.CheckStyle
|
2019-06-23 19:05:12 -07:00
|
|
|
ShellCheck.Formatter.Diff
|
2015-09-05 19:17:22 -07:00
|
|
|
ShellCheck.Formatter.GCC
|
|
|
|
|
ShellCheck.Formatter.JSON
|
2019-06-02 10:28:37 -07:00
|
|
|
ShellCheck.Formatter.JSON1
|
2015-09-05 19:17:22 -07:00
|
|
|
ShellCheck.Formatter.TTY
|
2019-01-18 19:21:17 -08:00
|
|
|
ShellCheck.Formatter.Quiet
|
2015-08-15 09:34:19 -07:00
|
|
|
ShellCheck.Interface
|
2015-08-15 12:51:13 -07:00
|
|
|
ShellCheck.Parser
|
2022-07-19 14:23:27 -07:00
|
|
|
ShellCheck.Prelude
|
2015-04-04 16:26:28 -07:00
|
|
|
ShellCheck.Regex
|
2014-05-30 00:08:09 +00:00
|
|
|
other-modules:
|
|
|
|
|
Paths_ShellCheck
|
2025-10-08 09:05:07 +09:00
|
|
|
default-language: Haskell2010
|
2013-06-18 09:29:39 -07:00
|
|
|
|
|
|
|
|
executable shellcheck
|
2018-04-02 11:44:18 -05:00
|
|
|
if impl(ghc < 8.0)
|
|
|
|
|
build-depends:
|
|
|
|
|
semigroups
|
2014-02-28 19:55:04 +01:00
|
|
|
build-depends:
|
2018-05-06 16:07:53 -07:00
|
|
|
aeson,
|
2019-01-08 17:22:39 -08:00
|
|
|
array,
|
2022-12-11 12:29:05 -08:00
|
|
|
base,
|
2018-05-06 16:07:53 -07:00
|
|
|
bytestring,
|
2014-02-28 19:55:04 +01:00
|
|
|
containers,
|
2022-12-11 12:29:05 -08:00
|
|
|
deepseq,
|
|
|
|
|
Diff,
|
|
|
|
|
directory,
|
2022-07-19 14:23:27 -07:00
|
|
|
fgl,
|
2022-12-11 12:29:05 -08:00
|
|
|
mtl,
|
2019-03-03 18:53:43 -08:00
|
|
|
filepath,
|
2022-12-11 12:29:05 -08:00
|
|
|
parsec,
|
|
|
|
|
QuickCheck,
|
2019-03-03 18:53:43 -08:00
|
|
|
regex-tdfa,
|
2022-12-10 10:46:49 -08:00
|
|
|
transformers,
|
2019-03-03 18:53:43 -08:00
|
|
|
ShellCheck
|
2025-10-08 09:05:07 +09:00
|
|
|
default-language: Haskell2010
|
2013-06-18 09:29:39 -07:00
|
|
|
main-is: shellcheck.hs
|
2014-05-30 00:08:09 +00:00
|
|
|
|
2014-05-31 01:30:23 +00:00
|
|
|
test-suite test-shellcheck
|
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
|
build-depends:
|
2018-05-06 16:07:53 -07:00
|
|
|
aeson,
|
2019-01-08 17:22:39 -08:00
|
|
|
array,
|
2022-12-11 12:29:05 -08:00
|
|
|
base,
|
2018-05-06 16:07:53 -07:00
|
|
|
bytestring,
|
2014-05-31 01:30:23 +00:00
|
|
|
containers,
|
2022-12-11 12:29:05 -08:00
|
|
|
deepseq,
|
|
|
|
|
Diff,
|
|
|
|
|
directory,
|
2022-07-19 14:23:27 -07:00
|
|
|
fgl,
|
2019-03-03 18:53:43 -08:00
|
|
|
filepath,
|
2022-12-11 12:29:05 -08:00
|
|
|
mtl,
|
2014-05-31 01:30:23 +00:00
|
|
|
parsec,
|
2022-12-11 12:29:05 -08:00
|
|
|
QuickCheck,
|
2019-03-03 18:53:43 -08:00
|
|
|
regex-tdfa,
|
2022-12-10 10:46:49 -08:00
|
|
|
transformers,
|
2019-03-03 18:53:43 -08:00
|
|
|
ShellCheck
|
2025-10-08 09:05:07 +09:00
|
|
|
default-language: Haskell2010
|
2014-05-31 01:30:23 +00:00
|
|
|
main-is: test/shellcheck.hs
|