class Buildr::PackageAsNsis::NSISTask

Attributes

nsi[RW]
nsis_executable[RW]
nsis_major_version[RW]
values[RW]

Public Instance Methods

with(options) → self click to toggle source

Passes options to the task and returns self. Some tasks support additional options, for example, the WarTask supports options like :manifest, :libs and :classes.

For example:

package(:jar).with(:manifest=>'MANIFEST_MF')
# File addon/buildr/package_as_nsis.rb, line 56
def with(options)
  options.each do |key, value|
    begin
      send "#{key}=", value
    rescue NoMethodError
      raise ArgumentError, "#{self.class.name} does not support the option #{key}"
    end
  end
  self
end