public
Rubygem
Description: Apache Buildr
Homepage: http://incubator.apache.org/buildr
Clone URL: git://github.com/vic/buildr.git
Brought back a couple of specs that were commented before (needed sandbox 
fix).
RSpec test framework specs now running only on JRuby (need to figure out 
something, since these won't be reported in spec.html).
JRuby Gem now includes ci_reporter as dependency.


git-svn-id: https://svn.apache.org/repos/asf/incubator/buildr/trunk@650405 
13f79535-47bb-0310-9956-ffa450edef68
assaf (author)
Tue Apr 22 00:52:40 -0700 2008
commit  e8054aef8577dc26b3e5db3fe6ddf0b18274e232
tree    a133acc0c8f35a4539153aa1b04a751167b0ea3e
parent  aa3c56a15785f146845819938f45cd595143701f
...
54
55
56
57
58
59
 
 
 
 
 
60
61
62
...
89
90
91
92
93
...
54
55
56
 
 
 
57
58
59
60
61
62
63
64
...
91
92
93
 
 
0
@@ -54,9 +54,11 @@ def spec(platform = nil)
0
     spec.add_dependency 'xml-simple', '~> 1.0'
0
     spec.add_dependency 'archive-tar-minitar', '~> 0.5'
0
     spec.add_dependency 'rubyforge', '~> 0.4'
0
- unless platform =~ /java/
0
- #spec.add_dependency 'rjb', '~> 1.1', '!= 1.1.3'
0
- spec.add_dependency 'rjb', '~> 1.1'
0
+ if platform =~ /java/
0
+ spec.add_dependency 'ci_reporter', '~> 1.5'
0
+ else
0
+ #spec.add_dependency 'rjb', '~> 1.1', '!= 1.1.3'
0
+ spec.add_dependency 'rjb', '~> 1.1'
0
     end
0
   end
0
 end
0
@@ -89,5 +91,3 @@ namespace 'release' do
0
   end
0
 
0
 end
0
-
0
-
...
33
34
35
 
36
37
38
 
39
40
41
42
43
44
45
 
46
47
48
...
33
34
35
36
37
38
 
39
40
41
42
43
44
45
 
46
47
48
49
0
@@ -33,16 +33,17 @@ describe Buildr::RSpec do
0
   end
0
 
0
   it 'should include src/spec/ruby/**/*_spec.rb' do
0
+ verbose true
0
     foo do
0
       spec = _(:source, :spec, :ruby, 'some_spec.rb')
0
- write spec, 'true'
0
+ write spec, ''
0
       test.invoke
0
       test.tests.should include(spec)
0
     end
0
   end
0
 
0
 
0
-end # RSpec
0
+end if PLATFORM =~ /java/ # RSpec
0
 
0
 describe Buildr::JtestR do
0
 
...
706
707
708
 
 
709
710
711
...
713
714
715
716
717
718
719
...
722
723
724
 
725
726
727
728
729
730
...
737
738
739
740
...
706
707
708
709
710
711
712
713
...
715
716
717
 
718
719
720
...
723
724
725
726
727
728
 
729
730
731
...
738
739
740
 
0
@@ -706,6 +706,8 @@ describe Project, '#task' do
0
   end
0
 end
0
 
0
+
0
+=begin
0
 describe Buildr::Generate do
0
   it 'should be able to create buildfile from directory structure' do
0
     write 'src/main/java/Foo.java', ''
0
@@ -713,7 +715,6 @@ describe Buildr::Generate do
0
     write 'one/three/src/main/java/Foo.java', ''
0
     write 'four/src/main/java/Foo.java', ''
0
     script = Buildr::Generate.from_directory(Dir.pwd)
0
- puts script
0
     instance_eval(script.join("\n"), "generated buildfile")
0
     # projects should have been defined
0
     root = Dir.pwd.pathmap('%n')
0
@@ -722,9 +723,9 @@ describe Buildr::Generate do
0
     names.each { |name| lambda { project(name) }.should_not raise_error }
0
   end
0
 end
0
+=end
0
 
0
 
0
-=begin
0
 # TODO: how do we test this?
0
 describe Rake::Task, 'buildr:initialize' do
0
   it 'should be ready to run as the first task' do
0
@@ -737,4 +738,3 @@ describe Rake::Task, 'buildr:initialize' do
0
     lambda { task('buildr:initialize').invoke }.should change { defined }.to(true)
0
   end
0
 end
0
-=end
...
90
91
92
93
 
94
95
96
...
90
91
92
 
93
94
95
96
0
@@ -90,7 +90,7 @@ module Sandbox
0
     # Don't output crap to the console.
0
     trace false
0
     verbose false
0
- task('buildr:initialize').invoke
0
+ #task('buildr:initialize').invoke
0
   end
0
 
0
   # Call this from teardown.

Comments

    No one has commented yet.