Clear rake task only if defined
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
b5d81174fb
commit
fa3c087a4c
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
Rake::Task["spec"].clear
|
||||
Rake::Task["spec"].clear if Rake::Task.task_defined?('spec')
|
||||
|
||||
desc "GITLAB | Run specs"
|
||||
task :spec do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Rake::Task["spinach"].clear
|
||||
Rake::Task["spinach"].clear if Rake::Task.task_defined?('spinach')
|
||||
|
||||
desc "GITLAB | Run spinach"
|
||||
task :spinach do
|
||||
|
|
Loading…
Reference in a new issue