Ignore teaspoon tasks in production environment
This commit is contained in:
parent
dcc699afc2
commit
8a9c7b1e04
1 changed files with 20 additions and 18 deletions
|
@ -1,3 +1,4 @@
|
|||
unless Rails.env.production?
|
||||
Rake::Task['teaspoon'].clear if Rake::Task.task_defined?('teaspoon')
|
||||
|
||||
namespace :teaspoon do
|
||||
|
@ -21,3 +22,4 @@ task :teaspoon do
|
|||
Rake::Task['teaspoon:fixtures'].invoke
|
||||
Rake::Task['teaspoon:tests'].invoke
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue