Permalink
Browse files

blocked the rake all/install tasks for now

  • Loading branch information...
1 parent 85b996a commit b0f57d96b9590bc843377e5e61032d2be9a0407c @lrz lrz committed Mar 28, 2009
Showing with 6 additions and 1 deletion.
  1. +6 −1 rakelib/builder.rake
View
@@ -273,6 +273,9 @@ end
namespace :macruby do
desc "Build dynamic libraries for MacRuby"
task :dylib => [:rbconfig, :miniruby] do
+ $stderr.puts "Warning: this version of MacRuby is still under development and can only build the \"miniruby\" target."
+ system("ls -l ./miniruby")
+ exit 0
sh("./miniruby -I. -I./lib -rrbconfig tool/compile_prelude.rb prelude.rb gem_prelude.rb prelude.c.new")
if !File.exist?('prelude.c') or File.read('prelude.c') != File.read('prelude.c.new')
mv('prelude.c.new', 'prelude.c')
@@ -354,6 +357,8 @@ EOS
desc "Install the framework"
task :install => :info_plist do
+ $stderr.puts "This version of MacRuby is under development and cannot be installed yet. Please retry later."
+ exit 1
sh "./miniruby instruby.rb #{INSTRUBY_ARGS}"
end
end
@@ -371,4 +376,4 @@ namespace :clean do
sh "./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb ext/extmk.rb #{EXTMK_ARGS} -- clean"
end
end
-end
+end

0 comments on commit b0f57d9

Please sign in to comment.