Skip to content

Instantly share code, notes, and snippets.

@huffman
Created March 2, 2012 03:50
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save huffman/1955470 to your computer and use it in GitHub Desktop.
Save huffman/1955470 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
@josevalim
Copy link

@millisami the formula at https://gist.github.com/1968046 is up to date and ready to go!

@millisami
Copy link

@josevalim Thanks, I'll try it out.

@millisami
Copy link

@josevalim, yup that works. Now heading to the doc site and do play-around.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment