Rakefile in processing-0.5.29 vs Rakefile in processing-0.5.30

- old
+ new

@@ -12,13 +12,28 @@ require 'rays/extension' require 'reflex/extension' require 'processing/extension' -EXTENSIONS = [Xot, Rucy, Rays, Reflex, Processing] +EXTENSIONS = [Xot, Rucy, Rays, Reflex, Processing] +DRAW_TESTS = Dir.glob('test/draw/test_*.rb') +TESTS_EXCLUDE = DRAW_TESTS ENV['RDOC'] = 'yardoc --no-private' default_tasks +use_bundler test_ruby_extension generate_documents build_ruby_gem + +task :clean => 'test:clean' + +namespace :test do + task :clean do + sh %( rm -rf test/draw/p5rb ) + end + + task :draw do + sh %( ruby #{DRAW_TESTS.join ' '} ) + end +end