Permalink
Browse files

Add ci rake task

  • Loading branch information...
Evan Phoenix
Evan Phoenix committed Jan 1, 2010
1 parent 43e0e04 commit a8390a9c57ab236a3bdd149d30924a43e2fb04ca
Showing with 10 additions and 0 deletions.
  1. +10 −0 Rakefile
View
@@ -43,6 +43,16 @@ task :build => ["build:normal", "gem_bootstrap"]
desc "Recompile all ruby system files"
task :rebuild => %w[clean build]
+desc "Use to run Rubinius in CI"
+task :ci do
+ unless system("rake -q")
+ puts "<< ERROR IN CI, CLEANING AND RERUNNING >>"
+ system "rake -q clean"
+ system "find . -name *.rbc -delete"
+ sh "rake -q"
+ end
+end
+
desc 'Remove rubinius build files'
task :clean => %w[
vm:clean

0 comments on commit a8390a9

Please sign in to comment.