Sha256: 4532b7dffab7f4acda3de7fde619687556f506b42ab789deb645f4ff51b3a1b4
Contents?: true
Size: 888 Bytes
Versions: 33
Compression:
Stored size: 888 Bytes
Contents
# frozen_string_literal: true module Avm module Git class Commit class Deploy module Appended require_sub __FILE__ def appended @appended ||= [] end def append_directory(directory) appended << ::Avm::Git::Commit::Deploy::Appended::Directory.new(self, directory) self end def append_directories(directories) directories.each { |directory| append_directory(directory) } self end def append_file_content(target_path, content) appended << ::Avm::Git::Commit::Deploy::Appended::FileContent .new(self, target_path, content) self end def copy_appended_content appended.each(&:copy_to_build_dir) end end end end end end
Version data entries
33 entries across 33 versions & 1 rubygems