Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add formula for HaXe

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information...
commit 2505891c0f796f6076e2f12b377616cdda229e70 1 parent 49a96e9
@cehoffman cehoffman authored adamv committed
Showing with 20 additions and 0 deletions.
  1. +20 −0 Library/Formula/haxe.rb
View
20 Library/Formula/haxe.rb
@@ -0,0 +1,20 @@
+require 'formula'
+
+class Haxe <Formula
+ url 'http://haxe.org/file/haxe-2.06-osx.tar.gz'
+ version '2.06'
+ homepage 'http://haxe.org/'
+ sha1 '729a10e0b68e53d40928396b961a741724343bea'
+
+ def install
+ bin.install %w(haxe haxedoc haxelib)
+ (share+"haxe").install "std"
+ end
+
+ def caveats; <<-EOS.undent
+ HaXe needs to know how to find its standard library so add this to your
+ shell profile:
+ export HAXE_LIBRARY_PATH="`brew --prefix`/share/haxe/std"'
+ EOS
+ end
+end

0 comments on commit 2505891

Please sign in to comment.
Something went wrong with that request. Please try again.