shellcheck 0.3.5
Update shellcheck to 0.3.5 Closes Homebrew/homebrew#34103. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
b00e55abb1
commit
5eab173693
1 changed files with 4 additions and 5 deletions
|
@ -5,9 +5,8 @@ class Shellcheck < Formula
|
|||
include Language::Haskell::Cabal
|
||||
|
||||
homepage "http://www.shellcheck.net"
|
||||
url "https://github.com/koalaman/shellcheck/archive/v0.3.2.tar.gz"
|
||||
sha1 "dd030c63f16e9170eb415176d101bbd2ce66fe00"
|
||||
revision 1
|
||||
url "https://github.com/koalaman/shellcheck/archive/v0.3.5.tar.gz"
|
||||
sha1 "e2907df9a28b955bde122c4ddf144c6039c0b85d"
|
||||
|
||||
bottle do
|
||||
cellar :any
|
||||
|
@ -23,7 +22,7 @@ class Shellcheck < Formula
|
|||
|
||||
def install
|
||||
install_cabal_package
|
||||
system "make", "shellcheck.1"
|
||||
system "pandoc", "-s", "-t", "man", "shellcheck.1.md", "-o", "shellcheck.1"
|
||||
man1.install "shellcheck.1"
|
||||
end
|
||||
|
||||
|
@ -35,6 +34,6 @@ class Shellcheck < Formula
|
|||
echo "$f"
|
||||
done
|
||||
EOS
|
||||
assert `shellcheck -f gcc #{sh}`.include? "Iterate over globs whenever possible"
|
||||
assert `shellcheck -f gcc #{sh}`.include? "[SC2045]"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue