Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
buildapp 1.5.3
Browse files Browse the repository at this point in the history
Closes #35010.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
  • Loading branch information
bfontaine authored and MikeMcQuaid committed Dec 15, 2014
1 parent 1d70bf3 commit d3ad9af
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions Library/Formula/buildapp.rb
Expand Up @@ -2,13 +2,21 @@

class Buildapp < Formula
homepage 'http://www.xach.com/lisp/buildapp/'
url 'https://github.com/xach/buildapp/archive/release-1.5.2.tar.gz'
sha1 'be9a8fbcbd52383041c96f3b761f0d8d8ed66de4'
url 'https://github.com/xach/buildapp/archive/release-1.5.3.tar.gz'
sha1 'a0601d144ee72719bd92298ca90e155234de26d0'

depends_on 'sbcl'

def install
bin.mkpath
system "make", "install", "DESTDIR=#{prefix}"
end

test do
code = "(defun f (a) (declare (ignore a)) (write-line \"Hello, homebrew\"))"
system "#{bin}/buildapp", "--eval", code,
"--entry", "f",
"--output", "t"
assert_equal `./t`, "Hello, homebrew\n"
end
end

0 comments on commit d3ad9af

Please sign in to comment.