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