Rakefile in film_snob-0.6.2 vs Rakefile in film_snob-0.6.3
- old
+ new
@@ -3,8 +3,16 @@
require "rubocop/rake_task"
RSpec::Core::RakeTask.new(:spec)
RuboCop::RakeTask.new(:style)
-task ci: [:spec, :style]
+task :todos do
+ # This tool requires keyword arguments
+ if RUBY_VERSION >= "2.0.0"
+ require "todo_lint"
+ TodoLint::Cli.new([]).run!
+ end
+end
+
+task ci: [:spec, :style, :todos]
task default: :ci