1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-27 02:11:36 +01:00

Fix (most) Rubocop warnings.

This commit is contained in:
John Lindgren
2018-11-28 13:27:00 -05:00
parent 28bf7954f2
commit 6b657c6f17
14 changed files with 64 additions and 83 deletions

View File

@@ -1,12 +1,9 @@
HERE = File.expand_path(File.dirname(__FILE__)) + '/'
UNITY_ROOT = File.expand_path(File.dirname(__FILE__)) + '/../..'
require 'rake'
require 'rake/clean'
require HERE + 'rakefile_helper'
require_relative 'rakefile_helper'
TEMP_DIRS = [
File.join(HERE, 'build')
File.join(__dir__, 'build')
].freeze
TEMP_DIRS.each do |dir|
@@ -32,8 +29,8 @@ task :summary do
end
desc 'Build and test Unity'
task all: %i(clean unit summary)
task default: %i(clobber all)
task all: %i[clean unit summary]
task default: %i[clobber all]
task ci: [:default]
task cruise: [:default]