Sha256: e03c049a4bd95247d9b1ad4de7d0292043ca514e699c6ae22ff496f0e91565f8
Contents?: true
Size: 790 Bytes
Versions: 33
Compression:
Stored size: 790 Bytes
Contents
# frozen_string_literal: true require 'eac_ruby_utils/core_ext' require 'avm/git/commit/deploy/appended/base' module Avm module Git class Commit class Deploy module Appended class Directory < ::Avm::Git::Commit::Deploy::Appended::Base attr_reader :source_path def initialize(deploy, source_path) super(deploy) @source_path = source_path end def copy_to_build_dir raise 'Variables source not set' if deploy.variables_source.blank? ::EacRubyUtils::Templates::Directory.new(source_path).apply( deploy.variables_source, deploy.build_dir ) end end end end end end end
Version data entries
33 entries across 33 versions & 1 rubygems