public
Description: RSpec-syntax compatible framework for RubySpecs
Homepage: http://rubyspec.org
Clone URL: git://github.com/brixen/mspec.git
Search Repo:
Make mspec work standalone, so you can path to .../bin/mspec or add to 
PATH
nicksieger (author)
Wed May 14 10:22:18 -0700 2008
commit  9e866164e0304a88aa4e592b04ec3178c12fc203
tree    1c2107ef14615ad9f3d590a46aa32068e5261d21
parent  fe5b013364f097eac1cac4ac345c879297d958db
...
1
2
3
 
 
4
5
6
...
129
130
131
132
 
133
134
135
...
1
2
 
3
4
5
6
7
...
130
131
132
 
133
134
135
136
0
@@ -1,6 +1,7 @@
0
 #!/usr/bin/env ruby
0
 
0
-$:.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
0
+MSPEC_HOME = File.expand_path(File.dirname(__FILE__) + '/..')
0
+$:.unshift "#{MSPEC_HOME}/lib"
0
 
0
 require 'yaml'
0
 require 'optparse'
0
@@ -129,7 +130,7 @@
0
     argv = config[:flags]
0
     argv.concat config[:includes]
0
     argv.concat config[:requires]
0
- argv << "mspec/bin/mspec-#{ config[:command] || "run" }"
0
+ argv << "#{MSPEC_HOME}/bin/mspec-#{ config[:command] || "run" }"
0
     argv.concat config[:options]
0
 
0
     if config[:multi] and config[:command] == "ci"

Comments

    No one has commented yet.