Rakefile in git-duet-0.1.3 vs Rakefile in git-duet-0.2.0

- old
+ new

@@ -1,10 +1,16 @@ #!/usr/bin/env rake +# vim:fileencoding=utf-8 require "bundler/gem_tasks" require 'rspec/core/rake_task' +desc 'Run rubocop' +task :rubocop do + sh('rubocop --format simple') { |r, _| r || abort } +end + RSpec::Core::RakeTask.new(:spec) do |t| t.rspec_opts = '--format documentation' end -task :default => :spec +task :default => [:rubocop, :spec]