Skip to content

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 Homebrew/legacy-homebrew#37946.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
  • Loading branch information
acfoltzer authored and MikeMcQuaid committed Mar 22, 2015
1 parent 187ff01 commit 746894c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Formula/idris.rb
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 746894c

Please sign in to comment.