Kaynağa Gözat

add cobbzilla-parent submodule

master
Jonathan Cobb 4 yıl önce
ebeveyn
işleme
2d8553bc08
4 değiştirilmiş dosya ile 12 ekleme ve 4 silme
  1. +3
    -0
      .gitmodules
  2. +8
    -4
      bin/jvc_common
  3. +0
    -0
      bin/use_https_submodules
  4. +1
    -0
      utils/cobbzilla-parent

+ 3
- 0
.gitmodules Dosyayı Görüntüle

@@ -1,3 +1,6 @@
[submodule "utils/cobbzilla-utils"]
path = utils/cobbzilla-utils
url = git@git.bubblev.org:bubblev/cobbzilla-utils.git
[submodule "utils/cobbzilla-parent"]
path = utils/cobbzilla-parent
url = git@git.bubblev.org:bubblev/cobbzilla-parent.git

+ 8
- 4
bin/jvc_common Dosyayı Görüntüle

@@ -61,24 +61,28 @@ if [[ -z "${JVC_JAR}" ]] ; then
die "Maven not installed (mvn command not found on PATH), cannot build JVC jar"
fi

# Build and install utility library
# Build and install utility libraries
pushd "${JVC_DIR}"/utils/cobbzilla-parent || die "Error changing directories to ${JVC_DIR}/utils/cobbzilla-parent"
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_submodule && \
./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"
popd || die "popd error"
fi
popd || die "popd error (pwd=$(pwd))"

# Build jvc uberjar
pushd "${JVC_DIR}" || die "Error changing directories to ${JVC_DIR}"
mvn -DskipTests=true -Puberjar clean package || die "Error building JVC jar"
popd || die "popd error"
popd || die "popd error (pwd=$(pwd))"

JVC_JAR="$(find "${JVC_DIR}"/target -type f -name "jvc-*-prod.jar" | head -1)"
if [[ -z "${JVC_JAR}" ]] ; then


bin/use_https_submodule → bin/use_https_submodules Dosyayı Görüntüle


+ 1
- 0
utils/cobbzilla-parent

@@ -0,0 +1 @@
Subproject commit 8e7003de03983a4a683702436b89469dac0ffe0a

Yükleniyor…
İptal
Kaydet