Class: Releasy::Deployers::Local

Inherits:
Deployer
  • Object
show all
Defined in:
lib/releasy/deployers/local.rb

Overview

Deploys (copies) to a local destination, such as into your Dropbox folder.

Examples:

Releasy::Project.new do
  name "My App"
  add_build :source
  add_package :zip
  add_deploy :local do
    path "C:/Users/X/Dropbox/Public" # Required.
  end
end

Constant Summary collapse

TYPE =
:local

Constants inherited from Deployer

Deployer::WORKING_CHARACTER

Constants included from Mixins::Log

Mixins::Log::DEFAULT_LOG_LEVEL, Mixins::Log::LOG_LEVELS

Instance Attribute Summary collapse

Attributes inherited from Deployer

#project

Method Summary

Methods inherited from Deployer

#initialize, #type

Methods included from Mixins::Log

log_level, log_level=

Constructor Details

This class inherits a constructor from Releasy::Deployers::Deployer

Instance Attribute Details

#pathString

Path to copy files to.

Returns:

  • (String)

    the current value of path



18
19
20
# File 'lib/releasy/deployers/local.rb', line 18

def path
  @path
end