Permalink
Browse files

Delete CF app if it already exists

Services are optionally deleted or retained for the new app
  • Loading branch information...
1 parent 16bf554 commit 48df059b5eb8a98587b54d2b5cc0048c1067dbc2 @drnic committed Mar 30, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 scrolls/cf.rb
View
@@ -44,6 +44,8 @@
exit 1 if exit_now
after_bundler do
+ run %Q{vmc _#{vmc_version}_ apps | grep "\\b#{@name}\\b" && vmc _#{vmc_version}_ delete #{@name}}
+
# Desirable to vendor everything
run "bundle package"

0 comments on commit 48df059

Please sign in to comment.