Rakefile in tanshuku-0.0.12 vs Rakefile in tanshuku-0.0.13
- old
+ new
@@ -6,5 +6,20 @@
load "rails/tasks/engine.rake"
load "rails/tasks/statistics.rake"
require "bundler/gem_tasks"
+require "rspec/core/rake_task"
+require "rubocop/rake_task"
+
+RSpec::Core::RakeTask.new(:spec)
+RuboCop::RakeTask.new
+
+namespace :yard do
+ desc "Start YARD server"
+ task :server do
+ puts "See http://localhost:8808/"
+ sh "yard server --reload"
+ end
+end
+
+task default: %i[rubocop spec]