Sha256: e074d9b303bc623ae6d95b36cf57affa884189d4ff2df072828e17d4b9cff63f

Contents?: true

Size: 617 Bytes

Versions: 4

Compression:

Stored size: 617 Bytes

Contents

# -*- coding: utf-8 -*-
# dxruby_rp5 は ruby-processing の機能を使用しており、ruby-processing
# は gem に同梱されている jruby と Processing のライブラリを使用してい
# る。
# そのため dxruby_rp5 のテストを行うには、gem に同梱されている jruby を
# 経由してテストコードを実行する必要がある。

require 'ruby-processing'

jruby_complete = File.join(RP5_ROOT, 'lib/ruby/jruby-complete.jar')
spec_root = File.expand_path(File.dirname(__FILE__))

command = ['java', '-cp', jruby_complete, 'org.jruby.Main', "#{spec_root}/spec.rb"]
exec *command

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dxruby_rp5-0.0.4 spec/runner.rb
dxruby_rp5-0.0.3 spec/runner.rb
dxruby_rp5-0.0.2 spec/runner.rb
dxruby_rp5-0.0.1 spec/runner.rb