lib/tasks/development.rake in locomotive_cms-2.3.0 vs lib/tasks/development.rake in locomotive_cms-2.3.1
- old
+ new
@@ -1,7 +1,8 @@
require "highline/import"
namespace :development do
+ desc "Setup sites and account for development"
task bootstrap: :environment do
if Locomotive::Site.count > 0 || Locomotive::Account.count > 0
puts "This will wipe out all sites and accounts"
delete = ask "Are you sure that you want to delete all of them? (y/n)"
if delete == "y"
\ No newline at end of file