Skip to content

Commit

Permalink
Load environment variables at build time
Browse files Browse the repository at this point in the history
  • Loading branch information
JorgenEvens committed May 3, 2014
1 parent 9546366 commit c3e31f7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions bin/helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

BUILD_DIR=$1
CACHE_DIR=$2
ENV_DIR=$3

if [ -d "$ENV_DIR" ]; then
for _env_variable in `ls "$ENV_DIR"`; do
. "${ENV_DIR}/${_env_variable}"
done
fi

CONFIG_DIR="${BUILD_DIR}/build/heroku"

Expand Down

0 comments on commit c3e31f7

Please sign in to comment.