class Gem::Tasks::Build::Zip
The ‘build:zip` task.
def build(path,gemspec)
- Api: - semipublic
Parameters:
-
gemspec
(Gem::Specification
) -- -
path
(String
) --
def build(path,gemspec) run 'zip', '-q', path, *gemspec.files end
def define
Defines the `build:zip` task.
def define build_task :zip end
def initialize(options={})
-
options
(Hash
) --
def initialize(options={}) super() yield self if block_given? define end