Sha256: bd505d2d42a639956b7dba1d8aaf2d4c35068fcdf77e4acf34a8d1e1e42d6dfb
Contents?: true
Size: 774 Bytes
Versions: 59
Compression:
Stored size: 774 Bytes
Contents
# frozen_string_literal: true require 'avm/git/launcher/publish_base' module Avm module Git module LauncherStereotypes class GitSubrepo class Publish < ::Avm::Git::Launcher::PublishBase # @return [Pathname] def config_path instance.parent.warped.to_pathname.join( "./#{instance.to_parent_path}", ::Avm::Git::LauncherStereotypes::GitSubrepo::CONFIG_SUBPATH ) end # @return [EacGit::Local::Subrepo::Config] def config ::EacGit::Local::Subrepo::Config.from_file(config_path) end # @return [String] def remote_ref config.remote_branch || super end end end end end end
Version data entries
59 entries across 59 versions & 2 rubygems