Sha256: 7c0b80e3792d5324a9a314439259162a69eb180397a9fdff440e95477f1527d1
Contents?: true
Size: 517 Bytes
Versions: 18
Compression:
Stored size: 517 Bytes
Contents
module AppBuilder class Builder < Base attr_accessor :archiver class << self def build(conf) new(conf).build end end def initialize(conf = nil) if conf.class <= Archiver @archiver = conf conf = conf.config end super(conf) @archiver ||= Archiver.new(config) end def build archiver.archive execute_with_hooks(:build) do execute("tar zcf #{builded_src_path} .", chdir: archive_path) end end end end
Version data entries
18 entries across 18 versions & 1 rubygems