We got nominated! Help us out and vote for GitHub as Best Bootstrapped Startup of 2008. (You can vote once a day.) [ hide ]

public
Description: Phusion Passenger (mod_rails)
Homepage: http://www.modrails.com/
Clone URL: git://github.com/FooBarWidget/passenger.git
Click here to lend your support to: passenger and make a donation at www.pledgie.com !
- Add rules for running the unit tests.
- Change the names of the package tasks and rdoc tasks.
Hongli Lai (Phusion) (author)
Thu Feb 21 11:39:45 -0800 2008
commit  02ce854434aa8eecff3d737d09c9c42bfdd8940f
tree    0ad451f0602f044440cc03e3ce53621ac73b9a4a
parent  c7cb43807fd37a61417783f1f8e56ecdaf7f84f3
...
174
175
176
 
 
 
 
 
 
 
 
 
 
 
 
 
177
178
179
...
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
0
@@ -174,6 +174,19 @@ class TEST
0
 end
0
 
0
 subdir 'test' do
0
+ desc "Run all unit tests"
0
+ task :test => ['test:apache2'.to_sym, 'test:ruby'.to_sym]
0
+
0
+ desc "Run unit tests for the Apache 2 module"
0
+ task 'test:apache2' => 'Apache2ModuleTests' do
0
+ sh "./Apache2ModuleTests"
0
+ end
0
+
0
+ desc "Run unit tests for the Ruby libraries"
0
+ task 'test:ruby' do
0
+ sh "spec -f s *_spec.rb"
0
+ end
0
+
0
   file 'Apache2ModuleTests' => TEST::AP2_OBJECTS.keys + ['../ext/boost/src/libboost_thread.a'] do
0
     objects = TEST::AP2_OBJECTS.keys.join(' ')
0
     create_executable "Apache2ModuleTests", objects,
...
94
95
96
97
 
98
99
 
100
101
102
...
94
95
96
 
97
98
99
100
101
102
103
0
@@ -94,9 +94,10 @@ module Rake
0
       task paste(name, ":force") => [paste("clobber_", name), name]
0
       
0
       desc "Remove rdoc products"
0
- task paste(name, ":clobber") do
0
+ task paste(name, ":clean") do
0
         rm_r rdoc_dir rescue nil
0
       end
0
+ task :clean => paste(name, ":clean")
0
 
0
       task :clobber => [paste(name, ":clobber")]
0
       

Comments

    No one has commented yet.