bin/zf-capify in zend-framework-deploy-0.1.0 vs bin/zf-capify in zend-framework-deploy-0.2.0
- old
+ new
@@ -55,11 +55,11 @@
set :zf_path, "set Zend Framework (remote) installation path here"
set :scm, :subversion
# Or: `accurev`, `bzr`, `cvs`, `darcs`, `git`, `mercurial`, `perforce`, `subversion` or `none`
-role :web, "your web-server here" # Your HTTP server, Apache/etc
+role :web, "your web-server goes here" # Your HTTP server, Apache/etc
'}
# multistage patch
unless stages.empty?
files["#{CONFIG_DIR}/deploy.rb"] << <<-MULTI
@@ -75,9 +75,18 @@
hash
end
)
puts "Multistage configuration selected, remember to install capistrano-ext gem with '[sudo] gem install capistrano-ext'"
end
+
+# hints to use other gems to improve capistrano experience
+files["#{CONFIG_DIR}/deploy.rb"] << <<-HINTS
+
+# gem install capistrano-tags to enable tag and branches deploying
+# require 'capistrano-tags'
+# gem install capistrano_colors to colorize capistano output
+# require 'capistrano_colors'
+HINTS
base = ARGV.shift
files.each do |file, content|
file = File.join(base, file)
if File.exists?(file)