Browse files

Add install task, remove tasks task, make build task default, make ob…

…solete

tasks raise, remove obsolete dev namespace
  • Loading branch information...
1 parent 90c05c1 commit 93c6297f3d76054b4491ca215d938283febd9b4b @drbrain drbrain committed Oct 18, 2007
Showing with 17 additions and 24 deletions.
  1. +2 −2 INSTALL
  2. +15 −22 Rakefile
View
4 INSTALL
@@ -36,7 +36,7 @@ for rubinius development.
* rake
-Rake may be obtained with the gem install command. See `gem help` and
+Rake may be obtained with the `gem install` command. See `gem help` and
http://www.rubygems.org for more information.
@@ -81,7 +81,7 @@ If you want a development version (no optimisations, extra debug info), set the
To install @rbx@ as a shortcut for @./shotgun/rubinius@:
- make install
+ rake install
== Troubleshooting and platform-specific notes
View
37 Rakefile
@@ -2,11 +2,7 @@
require 'tsort'
-task :default => :tasks
-
-task :tasks do
- puts `rake -T`
-end
+task :default => :build
class Hash
include TSort
@@ -254,6 +250,11 @@ end
desc "Build everything that needs to be built"
task :build => ['build:all']
+desc "Install rubinius as rbx"
+task :install do
+ sh "make install"
+end
+
desc "Recompile all ruby system files"
task :rebuild => ['clean:rbc', 'clean:shotgun', 'build:all']
@@ -317,31 +318,23 @@ namespace :build do
task :setup_rbc do
setup_stable
end
-
+
task :rbc => ([:setup_rbc] + AllPreCompiled)
-
+
task :core => :rbc do
- puts "OBSOLETE. Use 'rake build'"
+ raise "OBSOLETE. Use 'rake build'"
end
-
+
task :bootstrap => :rbc do
- puts "OBSOLETE. Use 'rake build'"
+ raise "OBSOLETE. Use 'rake build'"
end
-
+
task :platform => :rbc do
- puts "OBSOLETE. Use 'rake build'"
- end
-
- task :loader => :rbc do
- puts "OBSOLETE. Use 'rake build'"
+ raise "OBSOLETE. Use 'rake build'"
end
-end
-# dev tasks
-namespace :dev do
- desc "Make a snapshot of the runtime files for your own safety"
- task :setup do
- puts "OBSOLETE. You no longer need to do this."
+ task :loader => :rbc do
+ raise "OBSOLETE. Use 'rake build'"
end
end

0 comments on commit 93c6297

Please sign in to comment.