Skip to content

Instantly share code, notes, and snippets.

@rummelonp
Forked from huffman/elixir.rb
Created March 6, 2012 05:42
Show Gist options
  • Save rummelonp/1983875 to your computer and use it in GitHub Desktop.
Save rummelonp/1983875 to your computer and use it in GitHub Desktop.
Elixir 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'
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