소스 검색

add support for BUBBLE_SETUP_MODE env var

tags/v0.14.2
Jonathan Cobb 4 년 전
부모
커밋
543a40a258
1개의 변경된 파일12개의 추가작업 그리고 1개의 파일을 삭제
  1. +12
    -1
      bin/first_time_setup.sh

+ 12
- 1
bin/first_time_setup.sh 파일 보기

@@ -50,4 +50,15 @@ for repo in ${UTIL_REPOS} ; do
done
popd

INSTALL_WEB=web mvn -DskipTests=true -Dcheckstyle.skip=true clean package || die "Error building bubble jar"
if [[ -z "${BUBBLE_SETUP_MODE}" || "${BUBBLE_SETUP_MODE}" == "web" ]] ; then
INSTALL_WEB=web mvn -DskipTests=true -Dcheckstyle.skip=true clean package || die "Error building bubble jar"

elif [[ "${BUBBLE_SETUP_MODE}" == "debug" ]] ; then
DEBUG_BUILD=debug mvn -DskipTests=true -Dcheckstyle.skip=true clean package || die "Error building bubble jar"

elif [[ "${BUBBLE_SETUP_MODE}" == "production" ]] ; then
BUBBLE_PRODUCTION=1 mvn -DskipTests=true -Dcheckstyle.skip=true clean package || die "Error building bubble jar"

else
die "env var BUBBLE_SETUP_MODE was invalid: ${BUBBLE_SETUP_MODE}"
fi

불러오는 중...
취소
저장