Rakefile in haml-5.1.2 vs Rakefile in haml-5.2.0

- old
+ new

@@ -12,27 +12,20 @@ t.warning = true t.verbose = true end Rake::TestTask.new do |t| t.libs << 'test' - t.test_files = Dir['test/*_test.rb'] + Dir['test/haml-spec/*_test.rb'] - isolated_test.file_list + t.test_files = Dir['test/*_test.rb'] + Dir['test/haml-spec/*_test.rb'] + Dir['test/cases/*_test.rb'] - isolated_test.file_list t.warning = true t.verbose = true end CLEAN.replace %w(pkg doc coverage .yardoc test/haml vendor) desc "Benchmark Haml against ERB. TIMES=n sets the number of runs, default is 1000." task :benchmark do sh "ruby benchmark.rb #{ENV['TIMES']}" end - -task :set_coverage_env do - ENV["COVERAGE"] = "true" -end - -desc "Run Simplecov" -task :coverage => [:set_coverage_env, :test] task :submodules do if File.exist?(File.dirname(__FILE__) + "/.git") sh %{git submodule sync} sh %{git submodule update --init --recursive}