Rakefile in trenni-2.1.0 vs Rakefile in trenni-3.0.0

- old
+ new

@@ -1,15 +1,9 @@ require "bundler/gem_tasks" require "rspec/core/rake_task" -RSpec::Core::RakeTask.new(:spec) do |task| - begin - require('simplecov/version') - task.rspec_opts = %w{--require simplecov} if ENV['COVERAGE'] - rescue LoadError - end -end +RSpec::Core::RakeTask.new(:spec) task :default => :spec task :fetch_entities do require 'open-uri' @@ -57,9 +51,11 @@ task :generate_fallback_parsers do Dir.chdir(FALLBACK_DIRECTORY) do Dir.glob("*.rl").each do |parser_path| sh("ragel", "-I", PARSERS_DIRECTORY, "-R", parser_path, "-F1") end + + sh("ruby-beautify", "--tabs", "--overwrite", *Dir.glob("*.rb")) end end task :generate_native_parsers do Dir.chdir(NATIVE_DIRECTORY) do