Skip to content

Instantly share code, notes, and snippets.

@lukesutton
Forked from huffman/elixir.rb
Created May 28, 2012 02:33
Show Gist options
  • Save lukesutton/2816905 to your computer and use it in GitHub Desktop.
Save lukesutton/2816905 to your computer and use it in GitHub Desktop.
Elixir 0.5.0 Homebrew recipe
# 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', :tag => '6052352b6281752b905b30eb5b08fac0f51f68cd'
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