Rakefile in regextest-0.1.4 vs Rakefile in regextest-0.1.5
- old
+ new
@@ -18,25 +18,25 @@
puts 'making regextest/front/bracket-parser.rb'
sh 'racc lib/regextest/front/bracket-parser.y -o lib/regextest/front/bracket-parser.rb'
end
# Generating Unicode parser
-file 'lib/regextest/front/unicode.rb' => 'lib/pre-unicode.rb' do
- puts "making regextest/front/unicode.rb"
- sh 'ruby lib/pre-unicode.rb'
+file 'lib/regextest/unicode.rb' => 'lib/pre/unicode.rb' do
+ puts "making regextest/unicode.rb"
+ sh 'ruby lib/pre/unicode.rb'
end
# Generating case-folding mapping
-file 'lib/regextest/front/case-folding.rb' => 'lib/pre-case-folding.rb' do
+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'
+ sh 'ruby lib/pre/case-folding.rb'
end
# Generating regression test suite
-file 'spec/regression_spec.rb' => 'lib/pre-generate-spec.rb' do
+file 'spec/regression_spec.rb' => 'lib/pre/generate-spec.rb' do
puts "making spec/regression_spec.rb"
- sh 'ruby lib/pre-generate-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"
@@ -44,11 +44,11 @@
end
task :make =>
['lib/regextest/front/parser.rb',
'lib/regextest/front/bracket-parser.rb',
- 'lib/regextest/front/unicode.rb',
'lib/regextest/front/case-folding.rb',
+ 'lib/regextest/unicode.rb',
'spec/regression_spec.rb',
'doc/index.html',
] do
puts "Rake it!"
end