Skip to content

Commit e3481f0

Browse files
committed
Depend on node.js 0.12
1 parent d4afdb1 commit e3481f0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

setup/native-script.rb

+4-2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727
`echo "export JAVA_HOME=$(/usr/libexec/java_home)" >> ~/.bash_profile`
2828
`echo "export ANDROID_HOME=/usr/local/opt/android-sdk" >> ~/.bash_profile`
2929

30+
puts "Installing node.js 0.12"
31+
system('brew install homebrew/versions/node012')
32+
3033
puts "Creating Homebrew formula for NativeScript."
3134
File.open("/usr/local/Library/Formula/native-script.rb", "w:utf-8") do |f|
3235
f.write DATA.read
@@ -46,8 +49,7 @@ class NativeScript < Formula
4649

4750
depends_on :macos => :yosemite
4851
depends_on "pkg-config" => :build
49-
depends_on "node"
50-
depends_on "ant"
52+
# depends_on "node" # currently we do not work with latest node, and we manually install 0.12 (see above)
5153
depends_on "android-sdk"
5254
depends_on "gradle"
5355

0 commit comments

Comments
 (0)