Unverified Commit fa3c087a authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Clear rake task only if defined


Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
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