Class: Capistrano::Deploy::Strategy::CapwagenLocalBuild

Inherits:
Base
  • Object
show all
Defined in:
lib/capistrano/recipes/deploy/strategy/capwagen_local_build.rb

Defined Under Namespace

Classes: Compression

Constant Summary collapse

@@temp_names =

define methods to access the various temporary files and directories

[:source_dir, :build_make_file, :copy_dir]

Instance Method Summary collapse

Instance Method Details

#deploy!Object



10
11
12
13
14
15
16
17
18
19
# File 'lib/capistrano/recipes/deploy/strategy/capwagen_local_build.rb', line 10

def deploy!
  checkout_source
  make_copy_dir
  make_build
  create_revision_file
  compress_build
  distribute!
ensure
  remove_temporary_files
end