BigW Consortium Gitlab

Clear rake task only if defined

parent b5d81174
Rake::Task["spec"].clear
Rake::Task["spec"].clear if Rake::Task.task_defined?('spec')
desc "GITLAB | Run specs"
task :spec do
......
Rake::Task["spinach"].clear
Rake::Task["spinach"].clear if Rake::Task.task_defined?('spinach')
desc "GITLAB | Run spinach"
task :spinach do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment