Changeset View
Changeset View
Standalone View
Standalone View
Mk/bsd.sites.mk
Show First 20 Lines • Show All 498 Lines • ▼ Show 20 Lines | |||||
git-clone: git-clone-${_group} | git-clone: git-clone-${_group} | ||||
git-clone-${_group}: ${_GITHUB_CLONE_DIR} | git-clone-${_group}: ${_GITHUB_CLONE_DIR} | ||||
@git clone https://github.com/${GH_ACCOUNT_${_group}}/${GH_PROJECT_${_group}}.git ${_GITHUB_CLONE_DIR}/${GH_PROJECT_${_group}} | @git clone https://github.com/${GH_ACCOUNT_${_group}}/${GH_PROJECT_${_group}}.git ${_GITHUB_CLONE_DIR}/${GH_PROJECT_${_group}} | ||||
@${ECHO_MSG} "Cloned the ${_group} github repository into ${_GITHUB_CLONE_DIR}/${GH_PROJECT_${_group}}" | ${FMT_80} | @${ECHO_MSG} "Cloned the ${_group} github repository into ${_GITHUB_CLONE_DIR}/${GH_PROJECT_${_group}}" | ${FMT_80} | ||||
. endfor | . endfor | ||||
. endif | . endif | ||||
convert-to-gh-tuple: | convert-to-gh-tuple: | ||||
@${ECHO_MSG} ${GH_ACCOUNT}:${GH_PROJECT}:${GH_TAGNAME} ${_GH_TUPLE_OUT:S/\/$//} | @${ECHO_MSG} ${GH_ACCOUNT}:${GH_PROJECT}:${GH_TAGNAME} ${_GH_TUPLE_OUT:S/\/$//} | ||||
print-gh-tuple: ${_GITHUB_CLONE_DIR} | |||||
@git clone --recurse-submodules https://github.com/${GH_ACCOUNT}/${GH_PROJECT}.git ${_GITHUB_CLONE_DIR}/${GH_ACCOUNT}:${GH_PROJECT} | |||||
@${SH} ${SCRIPTSDIR}/print-submodule-gh_tuple.sh ${_GITHUB_CLONE_DIR}/${GH_ACCOUNT}:${GH_PROJECT} | |||||
@${RM} -rf ${_GITHUB_CLONE_DIR}/${GH_ACCOUNT}:${GH_PROJECT} | |||||
.endif # defined(USE_GITHUB) | .endif # defined(USE_GITHUB) | ||||
.endif # !defined(IGNORE_MASTER_SITE_GITHUB) | .endif # !defined(IGNORE_MASTER_SITE_GITHUB) | ||||
.if !defined(IGNORE_MASTER_SITE_GITLAB) | .if !defined(IGNORE_MASTER_SITE_GITLAB) | ||||
# | # | ||||
# In order to use GitLab your port must define USE_GITLAB and the following | # In order to use GitLab your port must define USE_GITLAB and the following | ||||
# variables: | # variables: | ||||
# | # | ||||
▲ Show 20 Lines • Show All 824 Lines • Show Last 20 Lines |