lib/app_drone/template.erb in app_drone-0.8.6 vs lib/app_drone/template.erb in app_drone-0.9.1
- old
+ new
@@ -23,11 +23,25 @@
<%= @directives[m].join("\n") %>
end
<% end %>
def leftovers
+
<%= leftover_directives.join("\n") %>
+
+ # This should be removed when the database drone is installed
+ rake 'db:create'
rake 'db:migrate'
+
+
+ # Drone Notices
+ <% drone_notices.each do |drone, notices| %>
+ <% notices.each do |notice| %>
+ say "[<%= drone.human_name %>] <%= notice %>", :red
+ <% end %>
+ <% end %>
+
say "She's all yours, sparky!\n\n", :green
+
end
end