Rakefile in fedux_org-stdlib-0.7.21 vs Rakefile in fedux_org-stdlib-0.7.22
- old
+ new
@@ -6,5 +6,21 @@
desc 'Show help for rake'
task :default do
sh 'bundle exec rake -T'
end
+
+desc 'Run test suite'
+task test: ['test:rubocop', 'test:rspec']
+
+namespace :test do
+ desc 'Test with coveralls'
+ task coveralls: ['test', 'coveralls:push']
+
+ require 'rubocop/rake_task'
+ RuboCop::RakeTask.new
+
+ desc 'Run rspec'
+ task :rspec do
+ sh 'bundle exec rspec'
+ end
+end