3dc81e79bb
Closes Homebrew/homebrew#50513. Signed-off-by: Alex Dunn <adunn@ucsb.edu>
23 lines
646 B
Ruby
23 lines
646 B
Ruby
class Walkmod < Formula
|
|
desc "Java-based project to apply and share code conventions"
|
|
homepage "http://www.walkmod.com"
|
|
url "https://bitbucket.org/rpau/walkmod/downloads/walkmod-2.3.4-installer.zip"
|
|
sha256 "0a395d1bbc6bb9cb056b8ee0cf49194c5c27c9765507d0ddeb5ffd2fa77a81a6"
|
|
|
|
bottle :unneeded
|
|
|
|
depends_on :java => "1.7+"
|
|
|
|
def install
|
|
# Remove windows files
|
|
rm_f Dir["bin/*.bat"]
|
|
libexec.install Dir["*"]
|
|
bin.install_symlink libexec+"bin/walkmod"
|
|
end
|
|
|
|
test do
|
|
system "git", "clone", "--depth", "1", "https://github.com/walkmod/walkmod-core.git"
|
|
cd "walkmod-core"
|
|
system bin/"walkmod", "check"
|
|
end
|
|
end
|