瀏覽代碼

move git submodule init to cobbzilla-parent

master
Jonathan Cobb 3 年之前
父節點
當前提交
724e526125
共有 1 個文件被更改,包括 7 次插入7 次删除
  1. +7
    -7
      bin/jvc_common

+ 7
- 7
bin/jvc_common 查看文件

@@ -63,18 +63,18 @@ if [[ -z "${JVC_JAR}" ]] ; then

# Build and install utility libraries
pushd "${JVC_DIR}"/utils/cobbzilla-parent || die "Error changing directories to ${JVC_DIR}/utils/cobbzilla-parent"
if [[ -z "$(find . -type f)" ]] ; then
cd ../.. && \
./bin/use_https_submodules && \
git submodule update --init --recursive && \
cd - \
|| die "Error updating git submodule"
fi
mvn install || die "Error installing cobbzilla-parent"
popd || die "popd error (pwd=$(pwd))"

pushd "${JVC_DIR}"/utils/cobbzilla-utils || die "Error changing directories to ${JVC_DIR}/utils/cobbzilla-utils"
if [[ -z "$(find target -type f -name "*.jar")" ]] ; then
if [[ -z "$(find . -type f)" ]] ; then
cd ../.. && \
./bin/use_https_submodules && \
git submodule update --init --recursive && \
cd - \
|| die "Error updating git submodule"
fi
mvn -DskipTests=true clean install || die "Error building cobbzilla-utils library"
fi
popd || die "popd error (pwd=$(pwd))"


Loading…
取消
儲存