Rakefile in mixlib-versioning-1.0.0 vs Rakefile in mixlib-versioning-1.1.0
- old
+ new
@@ -1,6 +1,18 @@
-require "bundler/gem_tasks"
+require 'bundler/gem_tasks'
+
require 'rspec/core/rake_task'
+RSpec::Core::RakeTask.new(:unit)
+
+require 'rubocop/rake_task'
+desc 'Run Ruby style checks'
+RuboCop::RakeTask.new(:style)
+
require 'yard'
+YARD::Rake::YardocTask.new(:doc)
-RSpec::Core::RakeTask.new(:spec)
-YARD::Rake::YardocTask.new
+namespace :travis do
+ desc 'Run tests on Travis'
+ task ci: [:style, :unit]
+end
+
+task default: [:style, :unit]