Skip to content

Instantly share code, notes, and snippets.

@devinus
Forked from josevalim/elixir.rb
Created September 13, 2012 15:45
Show Gist options
  • Save devinus/3715216 to your computer and use it in GitHub Desktop.
Save devinus/3715216 to your computer and use it in GitHub Desktop.
Elixir Homebrew recipe
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