Skip to content

Commit

Permalink
Rename LEIN_COMPILE env var to LEIN_BUILD_TASK.
Browse files Browse the repository at this point in the history
  • Loading branch information
technomancy committed Nov 18, 2011
1 parent a7abf4a commit d4564e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ else
mkdir -p $CACHE_TARGET_DIR
fi

LEIN_COMPILE=${LEIN_COMPILE:-"lein deps"}
LEIN_BUILD_TASK=${LEIN_BUILD_TASK:-"deps"}

# fetch deps with lein
echo "-----> Installing dependencies and compiling with Leiningen"
echo " Running: LEIN_NO_DEV=y lein $LEIN_COMPILE"
echo " Running: LEIN_NO_DEV=y lein $LEIN_BUILD_TASK"
cd $BUILD_DIR
PATH=.lein/bin:/usr/local/bin:/usr/bin:/bin JAVA_OPTS="-Xmx500m -Duser.home=$BUILD_DIR" LEIN_NO_DEV=y lein $LEIN_COMPILE 2>&1 | sed -u 's/^/ /'
PATH=.lein/bin:/usr/local/bin:/usr/bin:/bin JAVA_OPTS="-Xmx500m -Duser.home=$BUILD_DIR" LEIN_NO_DEV=y lein $LEIN_BUILD_TASK 2>&1 | sed -u 's/^/ /'
if [ "${PIPESTATUS[*]}" != "0 0" ]; then
echo " ! Failed to install dependencies with Leiningen"
exit 1
Expand Down

0 comments on commit d4564e4

Please sign in to comment.