lib/capcake.rb in capcake-0.0.2 vs lib/capcake.rb in capcake-0.0.3
- old
+ new
@@ -35,11 +35,11 @@
set :shared_children, %w(system tmp)
set :git_flag_quiet, ""
_cset(:cake_branch) { "" }
- _cset(:cake_repo) { "dev@code.cakephp.org:cakephp.git" }
+ _cset(:cake_repo) { "http://github.com/cakephp/cakephp1x.git" }
_cset :tmp_children, %w(cache logs sessions tests)
_cset :cache_children, %w(models persistent views)
_cset :logs_files, %w(debug error)
def capcake()
@@ -145,11 +145,11 @@
desc <<-DESC
Updates the symlinks to the most recently deployed version. Capistrano works \
by putting each new release of your application in its own directory. When \
you deploy a new version, this task's job is to update the `current', \
`current/tmp', `current/webroot/system' symlinks to point at the new version. \
-
+
You will rarely need to call this task directly; instead, use the `deploy' \
task (which performs a complete deploy, including `restart') or the 'update' \
task (which does everything except `restart').
DESC
task :symlink, :except => { :no_release => true } do
@@ -410,10 +410,10 @@
Further customization will require that you write your own task.
DESC
desc "Prepares server for deployment of a CakePHP application"
task :setup do
- run "cd #{cake_path} && git clone --depth 1 #{cake_repo}"
+ run "cd #{cake_path} && git clone --depth 1 #{cake_repo} cakephp"
set :git_flag_quiet, "-q "
update
end
desc <<-DESC
Force CakePHP installation to checkout a new branch/tag. \
\ No newline at end of file