Rakefile in total-0.4.0 vs Rakefile in total-0.4.1
- old
+ new
@@ -55,5 +55,13 @@
desc 'Run RuboCop on all directories'
RuboCop::RakeTask.new(:rubocop) do |task|
task.fail_on_error = true
task.requires << 'rubocop-rspec'
end
+
+task :copyright do
+ sh "grep -q -r '2018-#{Date.today.strftime('%Y')}' \
+ --include '*.rb' \
+ --include '*.txt' \
+ --include 'Rakefile' \
+ ."
+end