Sha256: ccea9299fd3be4f70c65b393d75de4e8409f8c5e9a3e623818ba0db5c885ea3b

Contents?: true

Size: 823 Bytes

Versions: 4

Compression:

Stored size: 823 Bytes

Contents

# -*- mode: ruby -*-


%w[../xot ../rucy ../rays ../reflex .]
  .map  {|s| File.expand_path "#{s}/lib", __dir__}
  .each {|s| $:.unshift s if !$:.include?(s) && File.directory?(s)}

require 'rucy/rake'

require 'xot/extension'
require 'rucy/extension'
require 'rays/extension'
require 'reflex/extension'
require 'processing/extension'


def test_with_p5()
  ENV['TEST_WITH_P5'] = '1'
end

EXTENSIONS = [Xot, Rucy, Rays, Reflex, Processing]

ENV['RDOC'] = 'yardoc --no-private'

#test_with_p5 if ci?

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/.png/*.png )
  end

  task :with_p5 do
    test_with_p5
  end

  ::Rake::TestTask.new :draw do |t|
    t.test_files = FileList['test/test_*.rb']
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
processing-0.5.34 Rakefile
processing-0.5.33 Rakefile
processing-0.5.32 Rakefile
processing-0.5.31 Rakefile