Skip to content
Snippets Groups Projects
Commit 8a9c7b1e authored by winniehell's avatar winniehell
Browse files

Ignore teaspoon tasks in production environment

parent dcc699af
No related branches found
No related tags found
No related merge requests found
unless Rails.env.production?
Rake::Task['teaspoon'].clear if Rake::Task.task_defined?('teaspoon') Rake::Task['teaspoon'].clear if Rake::Task.task_defined?('teaspoon')
   
namespace :teaspoon do namespace :teaspoon do
Loading
@@ -21,3 +22,4 @@ task :teaspoon do
Loading
@@ -21,3 +22,4 @@ task :teaspoon do
Rake::Task['teaspoon:fixtures'].invoke Rake::Task['teaspoon:fixtures'].invoke
Rake::Task['teaspoon:tests'].invoke Rake::Task['teaspoon:tests'].invoke
end end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment