Created
March 2, 2012 03:50
-
-
Save huffman/1955470 to your computer and use it in GitHub Desktop.
Elixir Homebrew recipe
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install this recipe with: | |
# brew install --HEAD https://raw.github.com/gist/1955470/c58bda92f07147afff64a86d0c2d8ef65adb9cd6/elixir.rb | |
require 'formula' | |
class Elixir < Formula | |
homepage 'http://elixir-lang.org/' | |
head 'https://github.com/elixir-lang/elixir.git' | |
depends_on 'erlang' | |
def install | |
system "make" | |
bin.install Dir['bin/*'] | |
prefix.install Dir['ebin/', 'exbin/'] | |
end | |
def test | |
system "elixir" | |
system "elixirc" | |
system "iex" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@josevalim Thanks, I'll try it out.