diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/chcase.rb | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/Library/Formula/chcase.rb b/Library/Formula/chcase.rb index 5b86a8431..046518ff4 100644 --- a/Library/Formula/chcase.rb +++ b/Library/Formula/chcase.rb @@ -1,13 +1,19 @@ -require 'formula' - -class Chcase < ScriptFileFormula - homepage 'http://www.primaledge.ca/chcase.html' - url 'http://www.primaledge.ca/chcase' - version '2.0' - sha1 'ec81ad76d85cf9162d422e801092ddc5e0841e39' +class Chcase < Formula + homepage "http://www.primaledge.ca/chcase.html" + url "http://www.primaledge.ca/chcase" + version "2.0" + sha1 "ec81ad76d85cf9162d422e801092ddc5e0841e39" # add a shebang so that brew properly sets it executable patch :DATA + + def install + bin.install "chcase" + end + + test do + system bin/"chcase", "-e" + end end __END__ |
