Rakefile in regextest-0.1.3 vs Rakefile in regextest-0.1.4
- old
+ new
@@ -29,10 +29,16 @@
file 'lib/regextest/front/case-folding.rb' => 'lib/pre-case-folding.rb' do
puts "making regextest/front/case-folding.rb"
sh 'ruby lib/pre-case-folding.rb'
end
+# Generating regression test suite
+file 'spec/regression_spec.rb' => 'lib/pre-generate-spec.rb' do
+ puts "making spec/regression_spec.rb"
+ sh 'ruby lib/pre-generate-spec.rb'
+end
+
# Generating documents
file 'doc/index.html' => ['lib/regextest.rb', 'lib/regextest/regexp.rb', 'README.md'] do
puts "making document for Regextest"
sh 'yardoc lib/regextest.rb lib/regextest/regexp.rb'
end
@@ -40,9 +46,10 @@
task :make =>
['lib/regextest/front/parser.rb',
'lib/regextest/front/bracket-parser.rb',
'lib/regextest/front/unicode.rb',
'lib/regextest/front/case-folding.rb',
+ 'spec/regression_spec.rb',
'doc/index.html',
] do
puts "Rake it!"
end