haxe 3.1.2
parent
16f4605982
commit
4fa9a20149
|
@ -2,7 +2,7 @@ require 'formula'
|
|||
|
||||
class Haxe < Formula
|
||||
homepage 'http://haxe.org'
|
||||
url 'https://github.com/HaxeFoundation/haxe.git', :tag => 'v3.1.1'
|
||||
url 'https://github.com/HaxeFoundation/haxe.git', :tag => '3.1.2'
|
||||
|
||||
head 'https://github.com/HaxeFoundation/haxe.git', :branch => 'development'
|
||||
|
||||
|
@ -22,6 +22,11 @@ class Haxe < Formula
|
|||
system "make"
|
||||
bin.mkpath
|
||||
system "make", "install", "INSTALL_BIN_DIR=#{bin}", "INSTALL_LIB_DIR=#{lib}/haxe"
|
||||
|
||||
# Replace the absolute symlink by a relative one,
|
||||
# such that binary package created by homebrew will work in non-/usr/local locations.
|
||||
rm bin/"haxe"
|
||||
bin.install_symlink lib/"haxe/haxe"
|
||||
end
|
||||
|
||||
test do
|
||||
|
|
Loading…
Reference in New Issue