module MGit::Template
Constants
- MANIFEST_HOOK_TEMPLATE
- POST_CUSTOMIZED_HOOK_TEMPLATE
- POST_DOWNLOAD_HOOK_TEMPLATE
- PRE_CUSTOMIZED_EXEC_HOOK_TEMPLATE
- PRE_CUSTOMIZED_HOOK_TEMPLATE
- PRE_CUSTOMIZED_PUSH_HOOK_TEMPLATE
Public Instance Methods
default_template()
click to toggle source
# File lib/m-git/template/local_manifest.rb, line 6 def default_template return "{ \"#{Constants::CONFIG_KEY[:repositories]}\": { } } " end
local_config_template(config_repo_name)
click to toggle source
# File lib/m-git/template/local_manifest.rb, line 15 def local_config_template(config_repo_name) return "{ \"#{Constants::CONFIG_KEY[:mgit_excluded]}\": true, \"#{Constants::CONFIG_KEY[:repositories]}\": { \"#{config_repo_name}\": { \"#{Constants::REPO_CONFIG_KEY[:mgit_excluded]}\": false } } } " end