diff options
| author | Baptiste Fontaine | 2015-02-20 09:30:03 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2015-02-22 15:49:52 +0000 |
| commit | 5ddd165fedfe905c7c71ccddc486bce963a2585a (patch) | |
| tree | 33fd59a7ad5867a4742907237651c4cba01a7c8a /Library/Formula/lolcode.rb | |
| parent | f00dd6af608dd2c928ae23bda54583fb0eda75e9 (diff) | |
| download | homebrew-5ddd165fedfe905c7c71ccddc486bce963a2585a.tar.bz2 | |
lolcode 0.11.2
Closes #36985.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/lolcode.rb')
| -rw-r--r-- | Library/Formula/lolcode.rb | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/Library/Formula/lolcode.rb b/Library/Formula/lolcode.rb index b104bdca1..045d04bd9 100644 --- a/Library/Formula/lolcode.rb +++ b/Library/Formula/lolcode.rb @@ -1,20 +1,19 @@ -require 'formula' - class Lolcode < Formula - homepage 'http://lolcode.org' - head 'https://github.com/justinmeza/lolcode.git' - url 'https://github.com/justinmeza/lci/archive/v0.11.1.tar.gz' - sha1 '9949a2480a738ac566dbe66142dd351f778fb8b7' + homepage "http://lolcode.org" + head "https://github.com/justinmeza/lolcode.git" + # note: 0.10.* releases are stable versions, 0.11.* are dev ones + url "https://github.com/justinmeza/lci/archive/v0.11.2.tar.gz" + sha1 "6c5b996bb4defb77542a8fb525df9991b21139f9" - depends_on 'cmake' => :build + depends_on "cmake" => :build - conflicts_with 'lci', :because => 'both install `lci` binaries' + conflicts_with "lci", :because => "both install `lci` binaries" def install - system "cmake ." + system "cmake", "." system "make" # Don't use `make install` for this one file - bin.install 'lci' + bin.install "lci" end test do @@ -26,8 +25,6 @@ class Lolcode < Formula KTHXBYE EOS - output = `#{bin}/lci #{path}` - assert_equal "HAI WORLD\n", output - assert_equal 0, $?.exitstatus + assert_equal "HAI WORLD\n", shell_output("#{bin}/lci #{path}") end end |
