You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
append_to_file "Rakefile" do
|
|
<<~RUBY
|
|
|
|
Rake::Task[:default].prerequisites.clear if Rake::Task.task_defined?(:default)
|
|
task :default do
|
|
sh "bin/rails test"
|
|
sh "bin/rails test:system"
|
|
|
|
raise unless
|
|
system("bin/rubocop") &
|
|
system("yarn lint")
|
|
end
|
|
RUBY
|
|
end
|