Class: Albacore::CpackAppSpec::Config
- Inherits:
-
Object
- Object
- Albacore::CpackAppSpec::Config
- Defined in:
- lib/albacore/cpack_app_spec.rb
Instance Method Summary collapse
- #configuration=(conf) ⇒ Object
-
#files=(files) ⇒ Object
give the configuration a list of files to match.
-
#initialize ⇒ Config
constructor
create a new configuration for multiple xxproj-s to be packed with fpm into .deb/.rpm.
- #opts ⇒ Object
-
#out=(out) ⇒ Object
set the output path, defaults to ‘.’.
Constructor Details
#initialize ⇒ Config
create a new configuration for multiple xxproj-s to be packed with fpm into .deb/.rpm
12 13 14 15 16 |
# File 'lib/albacore/cpack_app_spec.rb', line 12 def initialize @files = [] @out = '.' @configuration = 'Release' end |
Instance Method Details
#configuration=(conf) ⇒ Object
28 29 30 |
# File 'lib/albacore/cpack_app_spec.rb', line 28 def configuration= conf @configuration = conf end |
#files=(files) ⇒ Object
give the configuration a list of files to match
24 25 26 |
# File 'lib/albacore/cpack_app_spec.rb', line 24 def files= files @files = files end |
#opts ⇒ Object
32 33 34 35 36 37 |
# File 'lib/albacore/cpack_app_spec.rb', line 32 def opts Map.new bundler: @bundler, files: @files, out: @out, configuration: @configuration end |
#out=(out) ⇒ Object
set the output path, defaults to ‘.’
19 20 21 |
# File 'lib/albacore/cpack_app_spec.rb', line 19 def out= out @out = out end |