Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

* Added build:delete_rbc task to clean up all rbc files, everywhere.

  • Loading branch information...
commit e8b73c6ba6ad64cb8da2943bac77abf4f1c7f08c 1 parent 2ff0f11
Wilson Bilkovich wilson authored
Showing with 10 additions and 3 deletions.
  1. +10 −3 Rakefile
13 Rakefile
View
@@ -193,9 +193,6 @@ namespace :build do
raise 'Failed to compile kernel.rb' if $?.exitstatus != 0
end
- desc "Build the kernel."
- task :bk => 'build:kernel'
-
desc "Build syd-parser."
task :syd do
puts "Building externals/syd-parser gem...\n"
@@ -230,8 +227,18 @@ namespace :build do
raise "Failed to compile native/#{name}" if $?.exitstatus != 0
end
end
+
+ desc "Delete all cached .rbc files"
+ task :delete_rbc do
+ FileList['**/*.rbc', '*.rbc', '/tmp/*.rbc'].each do |fn|
+ FileUtils.rm fn
+ end
+ end
end
+desc "Build the kernel."
+task :bk => 'build:kernel'
+
namespace :doc do
desc "Learn how to contribute."
task :contrib => 'doc:contrib:easy'
Please sign in to comment.
Something went wrong with that request. Please try again.