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

Commit

Permalink
idris 0.9.17
Browse files Browse the repository at this point in the history
Had to tweak the FFI test slightly, as you now need to specify which FFI
to use

Closes #37946.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
  • Loading branch information
acfoltzer authored and MikeMcQuaid committed Mar 22, 2015
1 parent 9881839 commit 052b2e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Library/Formula/idris.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ class Idris < Formula
include Language::Haskell::Cabal

homepage "http://www.idris-lang.org"
url "https://github.com/idris-lang/Idris-dev/archive/v0.9.16.tar.gz"
sha1 "01f794c4e516454b8352266c26c92549e90c708f"
url "https://github.com/idris-lang/Idris-dev/archive/v0.9.17.tar.gz"
sha1 "d51d68227b3e3d3967769749314d3a75755a68ef"
head "https://github.com/idris-lang/Idris-dev.git"

bottle do
Expand Down Expand Up @@ -39,7 +39,7 @@ module Main
assert_match /Hello, Homebrew!/, result

if build.with? "libffi"
cmd = "#{bin}/idris --exec 'putStrLn \"Hello, interpreter!\"'"
cmd = "#{bin}/idris --exec 'putStrLn {ffi=FFI_C} \"Hello, interpreter!\"'"
result = shell_output cmd
assert_match /Hello, interpreter!/, result
end
Expand Down

0 comments on commit 052b2e0

Please sign in to comment.