Class: Albacore::IsPackage::Config
- Inherits:
-
Object
- Object
- Albacore::IsPackage::Config
- Extended by:
- ConfigDSL
- Defined in:
- lib/albacore/task_types/is_package.rb
Overview
The configuration class for ISDeploymentWizard. MSDN docs at: msdn.microsoft.com/en-gb/library/hh213373.aspx
Instance Attribute Summary collapse
-
#database ⇒ Object
this is the database of ISDeploymentWizard.
-
#folder_name ⇒ Object
this is the folder_name of ISDeploymentWizard.
-
#is_package ⇒ Object
readonly
this is the is_package of ISDeploymentWizard.
-
#project_name ⇒ Object
this is the project_name of ISDeploymentWizard.
-
#server ⇒ Object
readonly
this is the server of ISDeploymentWizard.
Instance Method Summary collapse
- #be_quiet ⇒ Object
- #get_parameters ⇒ Object
-
#initialize ⇒ Config
constructor
A new instance of Config.
Methods included from ConfigDSL
Methods included from Logging
#debug, #err, #error, #fatal, #info, #puts, #trace, #warn
Methods included from CmdConfig
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
46 47 48 49 50 51 52 53 54 |
# File 'lib/albacore/task_types/is_package.rb', line 46 def initialize @parameters = Set.new w = lambda { |e| CrossPlatformCmd.which(e) ? e : nil } @exe = w.call( "ISDeploymentWizard" ) debug { "ISDeploymentWizard using '#{@exe}'" } end |
Instance Attribute Details
#database ⇒ Object
this is the database of ISDeploymentWizard
37 38 39 |
# File 'lib/albacore/task_types/is_package.rb', line 37 def database @database end |
#folder_name ⇒ Object
this is the folder_name of ISDeploymentWizard
40 41 42 |
# File 'lib/albacore/task_types/is_package.rb', line 40 def folder_name @folder_name end |
#is_package ⇒ Object (readonly)
this is the is_package of ISDeploymentWizard
31 32 33 |
# File 'lib/albacore/task_types/is_package.rb', line 31 def is_package @is_package end |
#project_name ⇒ Object
this is the project_name of ISDeploymentWizard
43 44 45 |
# File 'lib/albacore/task_types/is_package.rb', line 43 def project_name @project_name end |
#server ⇒ Object (readonly)
this is the server of ISDeploymentWizard
34 35 36 |
# File 'lib/albacore/task_types/is_package.rb', line 34 def server @server end |
Instance Method Details
#be_quiet ⇒ Object
56 57 58 |
# File 'lib/albacore/task_types/is_package.rb', line 56 def be_quiet @parameters.add "/Silent" end |
#get_parameters ⇒ Object
68 69 70 71 |
# File 'lib/albacore/task_types/is_package.rb', line 68 def get_parameters make_folder @parameters end |