Skip to content

Commit

Permalink
bin/compile env file support
Browse files Browse the repository at this point in the history
  • Loading branch information
Naaman Newbold committed Dec 12, 2013
1 parent c0a5745 commit 6e30951
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/compile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# bin/compile <build-dir> <cache-dir>
# bin/compile <build-dir> <cache-dir> <env-file>

# fail fast
set -e
Expand All @@ -12,6 +12,8 @@ OPT_DIR=$BP_DIR/opt
# parse args
APP_BUILD_DIR=$(cd $1; pwd)
CACHE_DIR=$2
ENV_FILE=$3
export `grep 'SBT_CLEAN' $ENV_FILE`

# Move app to a static build dir to keep paths the same between builds
BUILD_DIR="/tmp/scala_buildpack_build_dir"
Expand Down

0 comments on commit 6e30951

Please sign in to comment.