Class: Albacore::FpmAppSpec::Config
- Inherits:
-
Object
- Object
- Albacore::FpmAppSpec::Config
- Defined in:
- lib/albacore/fpm_app_spec.rb
Instance Method Summary collapse
-
#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.
-
#no_bundler ⇒ Object
turn off the using of bundler; bundler will be used by default.
- #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
67 68 69 70 71 |
# File 'lib/albacore/fpm_app_spec.rb', line 67 def initialize @bundler = true @files = [] @out = '.' end |
Instance Method Details
#files=(files) ⇒ Object
give the configuration a list of files to match
84 85 86 |
# File 'lib/albacore/fpm_app_spec.rb', line 84 def files= files @files = files end |
#no_bundler ⇒ Object
turn off the using of bundler; bundler will be used by default
74 75 76 |
# File 'lib/albacore/fpm_app_spec.rb', line 74 def no_bundler @bundler = false end |
#opts ⇒ Object
88 89 90 91 92 |
# File 'lib/albacore/fpm_app_spec.rb', line 88 def opts Map.new bundler: @bundler, files: @files, out: @out end |
#out=(out) ⇒ Object
set the output path, defaults to ‘.’
79 80 81 |
# File 'lib/albacore/fpm_app_spec.rb', line 79 def out= out @out = out end |