From 82542dc979c8214e7f60f514a641da82911fc189 Mon Sep 17 00:00:00 2001 From: Florian Franzmann Date: Fri, 24 Jul 2015 15:29:47 +0200 Subject: haskell/haskell-shellcheck: new spell, a static checker for shell scripts --- ChangeLog | 2 ++ haskell/haskell-shellcheck/DEPENDS | 7 +++++++ haskell/haskell-shellcheck/DETAILS | 18 ++++++++++++++++++ haskell/haskell-shellcheck/HISTORY | 3 +++ 4 files changed, 30 insertions(+) create mode 100755 haskell/haskell-shellcheck/DEPENDS create mode 100755 haskell/haskell-shellcheck/DETAILS create mode 100644 haskell/haskell-shellcheck/HISTORY diff --git a/ChangeLog b/ChangeLog index 734b4d5bd7..b5618964e5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,8 @@ 2015-07-24 Florian Franzmann * haskell/haskell-regex/tdfa: new spell, a new all Haskell DFA regex engine + * haskell/haskell-shellcheck: new spell, a static checker for shell + scripts 2015-07-22 Treeve Jelbert * qt5/qt3d: new spell, 3d drawing for qt5 diff --git a/haskell/haskell-shellcheck/DEPENDS b/haskell/haskell-shellcheck/DEPENDS new file mode 100755 index 0000000000..de9a9b89e4 --- /dev/null +++ b/haskell/haskell-shellcheck/DEPENDS @@ -0,0 +1,7 @@ +depends ghc && +depends haskell-quickcheck && +depends haskell-json && +depends haskell-mtl && +depends haskell-parsec && +depends haskell-regex-tdfa + diff --git a/haskell/haskell-shellcheck/DETAILS b/haskell/haskell-shellcheck/DETAILS new file mode 100755 index 0000000000..eee66ded35 --- /dev/null +++ b/haskell/haskell-shellcheck/DETAILS @@ -0,0 +1,18 @@ + XSPELL=shellcheck + SPELL=haskell-${XSPELL} + VERSION=0.3.8 + SOURCE="${SPELL}-${VERSION}.tar.gz" + SOURCE_URL[0]=https://github.com/koalaman/${XSPELL}/archive/v${VERSION}.tar.gz + SOURCE_HASH=sha512:f86326f3473adcc3783c864ef76739e641e5aa7afa2f231a999c36ec602554b8e4e51334fee5347f135e4346e57d6499dba3921a83e7abef361a053e0967842f +SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${XSPELL}-${VERSION}" + WEB_SITE="http://www.shellcheck.net" + LICENSE[0]=GPL + ENTERED=20150724 + SHORT="a static analysis and linting tool for sh/bash scripts" +cat << EOF +ShellCheck is a static analysis and linting tool for sh/bash scripts. It's +mainly focused on handling typical beginner and intermediate level syntax +errors and pitfalls where the shell just gives a cryptic error message or +strange behavior, but it also reports on a few more advanced issues where +corner cases can cause delayed failures. +EOF diff --git a/haskell/haskell-shellcheck/HISTORY b/haskell/haskell-shellcheck/HISTORY new file mode 100644 index 0000000000..6762e7bfc6 --- /dev/null +++ b/haskell/haskell-shellcheck/HISTORY @@ -0,0 +1,3 @@ +2015-07-24 Florian Franzmann + * DEPENDS, DETAILS: spell created + -- cgit v1.2.3