Rakefile in tapioca-0.4.27 vs Rakefile in tapioca-0.5.0
- old
+ new
@@ -1,24 +1,22 @@
# frozen_string_literal: true
require "bundler/gem_tasks"
require "rake/testtask"
-Dir['tasks/**/*.rake'].each { |t| load t }
+Dir["tasks/**/*.rake"].each { |t| load t }
Rake.application.options.trace = false
Rake::TestTask.new do |t|
t.libs << "lib"
t.libs << "spec"
t.warning = false
- t.test_files = FileList['spec/**/*_spec.rb']
+ t.test_files = FileList["spec/**/*_spec.rb"]
end
task(:spec) do
- begin
- Rake::Task[:test].execute
- rescue RuntimeError
- exit(1)
- end
+ Rake::Task[:test].execute
+rescue RuntimeError
+ exit(1)
end
task(default: :spec)