Skip to content

Instantly share code, notes, and snippets.

@patforna
Created March 25, 2017 07:46
Show Gist options
  • Save patforna/74ce775d4ab24a5f357e3f7e60d3684a to your computer and use it in GitHub Desktop.
Save patforna/74ce775d4ab24a5f357e3f7e60d3684a to your computer and use it in GitHub Desktop.
Simian Homebrew Formula
class Simian < Formula
desc "Simian (Similarity Analyser) identifies duplication in a number of programming languages and even plain text files."
homepage "http://www.harukizaemon.com/simian"
url "http://www.harukizaemon.com/simian/simian-2.4.0.tar.gz"
sha256 "6d41d8cac8a3e6b8e219d0eafea4b59ac2b641c1b6e72070ed3969738160f38d"
def install
libexec.install "bin/simian-2.4.0.jar"
(bin+'simian').write <<-EOS.undent
#!/bin/sh
java -jar "#{libexec}/simian-2.4.0.jar" $@
EOS
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment