diff options
| author | Baptiste Fontaine | 2014-12-15 21:01:43 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2014-12-15 20:17:27 +0000 |
| commit | d3ad9af8d2e6ec3a54785b4233c330f578f4203b (patch) | |
| tree | 3808a552ab9f022c511f41274b5b9bf056d80e95 /Library/Formula | |
| parent | 1d70bf30729de0ba14b7657664c258f436362d8b (diff) | |
| download | homebrew-d3ad9af8d2e6ec3a54785b4233c330f578f4203b.tar.bz2 | |
buildapp 1.5.3
Closes #35010.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/buildapp.rb | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Library/Formula/buildapp.rb b/Library/Formula/buildapp.rb index 2f7e8760e..4774b816c 100644 --- a/Library/Formula/buildapp.rb +++ b/Library/Formula/buildapp.rb @@ -2,8 +2,8 @@ require 'formula' 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' @@ -11,4 +11,12 @@ class Buildapp < Formula 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 |
