aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/haxe.rb21
1 files changed, 14 insertions, 7 deletions
diff --git a/Library/Formula/haxe.rb b/Library/Formula/haxe.rb
index 152380c32..619716cc3 100644
--- a/Library/Formula/haxe.rb
+++ b/Library/Formula/haxe.rb
@@ -1,10 +1,13 @@
-require 'formula'
+require "formula"
class Haxe < Formula
- homepage 'http://haxe.org'
- url 'https://github.com/HaxeFoundation/haxe.git', :tag => '3.1.3'
+ homepage "http://haxe.org"
- head 'https://github.com/HaxeFoundation/haxe.git', :branch => 'development'
+ stable do
+ url "https://github.com/HaxeFoundation/haxe.git", :tag => "3.1.3"
+ # Remove the below with the next stable release
+ depends_on MaximumMacOSRequirement => :mavericks
+ end
bottle do
cellar :any
@@ -13,9 +16,13 @@ class Haxe < Formula
sha1 "408dbaf0110cb38ee52900bd4910c56913681bab" => :lion
end
- depends_on 'neko' => :recommended
- depends_on 'objective-caml' => :build
- depends_on 'camlp4' => :build
+ head do
+ url "https://github.com/HaxeFoundation/haxe.git", :branch => "development"
+ end
+
+ depends_on "objective-caml" => :build
+ depends_on "camlp4" => :build
+ depends_on "neko" => :optional
def install
# Build requires targets to be built in specific order