Revisions
-
Devin Torres revised this gist
Nov 28, 2012 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ # Install this recipe with: # brew install --HEAD https://raw.github.com/gist/3715216/fcc8b4142a0010d04dc2bba6c2d7d641c137f615/elixir.rb require 'formula' @@ -48,4 +48,4 @@ def install def test system "#{bin}/elixir -v" end end -
Devin Torres revised this gist
Nov 28, 2012 . 1 changed file with 6 additions and 9 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -26,29 +26,26 @@ def fatal? class Elixir < Formula homepage 'http://elixir-lang.org/' url 'https://github.com/elixir-lang/elixir/tarball/v0.7.1' sha1 '6344b7a49196581bf45e0cb2f51a4fe3e6e07aa5' head 'https://github.com/elixir-lang/elixir.git' depends_on ErlangInstalled.new env :userpaths def install system "make" bin.install Dir['bin/*'] - Dir['bin/*.bat'] Dir['lib/*/ebin'].each do |path| app = File.basename(File.dirname(path)) (lib/"#{app}").install path end end def test system "#{bin}/elixir -v" end end -
Devin Torres revised this gist
Oct 3, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ # Install this recipe with: # brew install --HEAD https://raw.github.com/gist/3715216/4f1bbf7d73d372bf9a2eeb5364142ee03bc51f55/elixir.rb require 'formula' -
Devin Torres revised this gist
Oct 3, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -31,7 +31,7 @@ class Elixir < Formula head 'https://github.com/elixir-lang/elixir.git' env :userpaths depends_on ErlangInstalled.new -
Devin Torres revised this gist
Sep 27, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ # Install this recipe with: # brew install --HEAD https://raw.github.com/gist/3715216/94a0f53a704a1c522ec689b972bdc2eff9a0d686/elixir.rb require 'formula' -
Devin Torres revised this gist
Sep 27, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ # Install this recipe with: # brew install --HEAD https://raw.github.com/gist/3715216/0db354bc74a727cb395a3c26d7bbf119413a7312/elixir.rb require 'formula' -
Devin Torres revised this gist
Sep 27, 2012 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -31,6 +31,8 @@ class Elixir < Formula head 'https://github.com/elixir-lang/elixir.git' env :std depends_on ErlangInstalled.new def install -
Devin Torres revised this gist
Sep 13, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ # Install this recipe with: # brew install --HEAD https://raw.github.com/gist/3715216/da937661db644879c41a8cb2b4b24a7d1e9f3b67/elixir.rb require 'formula' -
Devin Torres revised this gist
Sep 13, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -29,7 +29,7 @@ class Elixir < Formula url 'https://github.com/elixir-lang/elixir/tarball/v0.6.0' sha1 '618e66e037c2d930428ca75a11b4e9648caffb9a' head 'https://github.com/elixir-lang/elixir.git' depends_on ErlangInstalled.new -
José Valim revised this gist
Aug 1, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ # Install this recipe with: # brew install https://raw.github.com/gist/1968046/0302279edc972e9d147110bd69284d0e2becda41/elixir.rb require 'formula' -
José Valim revised this gist
Aug 1, 2012 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,6 @@ # Install this recipe with: # brew install --HEAD https://raw.github.com/gist/1968046/0302279edc972e9d147110bd69284d0e2becda41/elixir.rb require 'formula' class ErlangInstalled < Requirement @@ -46,4 +49,4 @@ def install def test system "#{bin}/elixir -v" end end -
José Valim revised this gist
Aug 1, 2012 . 1 changed file with 35 additions and 7 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,21 +1,49 @@ require 'formula' class ErlangInstalled < Requirement def message; <<-EOS.undent Erlang is required to install. You can install this with: brew install erlang Or you can use an official installer from: http://www.erlang.org/ EOS end def satisfied? which 'erl' end def fatal? true end end class Elixir < Formula homepage 'http://elixir-lang.org/' url 'https://github.com/elixir-lang/elixir/tarball/v0.6.0' sha1 '618e66e037c2d930428ca75a11b4e9648caffb9a' head 'https://github.com/elixir-lang/elixir.git', :branch => "stable" depends_on ErlangInstalled.new def install system "make" bin.install Dir['bin/*'] - Dir['bin/*.bat'] Dir['lib/*/ebin'].each do |path| app = File.basename(File.dirname(path)) src = "#{path}/." dest = "#{lib}/#{app}/ebin" mkdir_p dest cp_r src, dest end end def test system "#{bin}/elixir -v" end end -
huffman revised this gist
Mar 3, 2012 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -15,5 +15,7 @@ def install def test system "elixir" system "elixirc" system "iex" end end -
huffman created this gist
Mar 2, 2012 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ 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" end end