class Albacore::FpmAppSpec::Config
Public Class Methods
new()
click to toggle source
create a new configuration for multiple xxproj-s to be packed with fpm into .deb/.rpm
# File lib/albacore/fpm_app_spec.rb, line 67 def initialize @bundler = true @files = [] @out = '.' end
Public Instance Methods
files=(files)
click to toggle source
give the configuration a list of files to match
# File lib/albacore/fpm_app_spec.rb, line 84 def files= files @files = files end
no_bundler()
click to toggle source
turn off the using of bundler; bundler will be used by default
# File lib/albacore/fpm_app_spec.rb, line 74 def no_bundler @bundler = false end
opts()
click to toggle source
# File lib/albacore/fpm_app_spec.rb, line 88 def opts Map.new bundler: @bundler, files: @files, out: @out end
out=(out)
click to toggle source
set the output path, defaults to '.'
# File lib/albacore/fpm_app_spec.rb, line 79 def out= out @out = out end