|
1 | 1 | require_relative 'lib/jruby_art/version' |
2 | 2 |
|
3 | 3 | def create_manifest |
4 | | - title = 'Implementation-Title: rpextras (java extension for JRubyArt) ' |
| 4 | + title = 'Implementation-Title: rpextras (java extension for JRubyArt) ' |
5 | 5 | version = format('Implementation-Version: %s', JRubyArt::VERSION) |
6 | 6 | file = File.open('MANIFEST.MF', 'w') do |f| |
7 | | - f.puts(title) |
| 7 | + f.puts(title) |
8 | 8 | f.puts(version) |
9 | 9 | f.puts('Class-Path: core.jar gluegen-rt.jar jog-all.jar') |
10 | 10 | end |
|
19 | 19 |
|
20 | 20 | desc 'Build gem' |
21 | 21 | task :gem do |
22 | | - sh 'gem build jruby_art.gemspec' |
| 22 | + sh 'gem build jruby_art.gemspec' |
23 | 23 | end |
24 | 24 |
|
25 | 25 | desc 'Compile' |
|
30 | 30 |
|
31 | 31 | desc 'Test' |
32 | 32 | task :test do |
33 | | - sh 'jruby test/deglut_spec_test.rb' |
34 | | - sh 'jruby test/vecmath_spec_test.rb' |
35 | | - sh 'jruby test/math_tool_test.rb' |
36 | | - sh 'jruby test/helper_methods_test.rb' |
37 | | - sh 'jruby test/aabb_spec_test.rb' |
38 | | - sh 'jruby test/create_test.rb' |
| 33 | + # sh 'jruby test/deglut_spec_test.rb' |
| 34 | + # sh 'jruby test/vecmath_spec_test.rb' |
| 35 | + # sh 'jruby test/math_tool_test.rb' |
| 36 | + # sh 'jruby test/helper_methods_test.rb' |
| 37 | + # sh 'jruby test/aabb_spec_test.rb' |
| 38 | + # sh 'jruby test/create_test.rb' |
39 | 39 | home = File.expand_path('~') |
40 | 40 | config = File.exist?(format('%s/.jruby_art/config.yml', home)) |
41 | 41 | if config |
42 | | - ruby 'test/k9_run_test.rb' |
| 42 | + ruby 'test/k9_library_test.rb' |
43 | 43 | else |
44 | 44 | warn format('You should create %s/.jruby_art/config.yml to run sketch tests', home) |
45 | 45 | end |
|
0 commit comments