Rakefile in image_voodoo-0.9.0 vs Rakefile in image_voodoo-0.9.1
- old
+ new
@@ -1,11 +1,13 @@
+# frozen_string_literal: true
+
require 'bundler'
require 'rake/testtask'
require 'jars/installer'
Bundler::GemHelper.install_tasks
Bundler.setup
-task :default => [:vendor_jars, :test]
+task :default => %i[vendor_jars test]
desc 'Vendor Jars'
task :vendor_jars do
test_file = File.expand_path File.join('lib', 'image_voodoo_jars.rb'), __dir__
Jars::Installer.vendor_jars! unless File.exist? test_file