File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ PATH=${build_pack_dir}:$PATH
6161 set -e
6262
6363 # If already cached tarball, means already fetched.
64- # test -f ${cache_dir}/${elixir_tar} && exit
64+ test -f ${cache_dir} /${elixir_tar} && exit
6565
6666 cd ${cache_dir}
6767 echo " -----> Fetching Elixir ${elixir_version} from ${elixir_source_url} "
@@ -88,7 +88,11 @@ echo `pwd`
8888cd ${build_dir}
8989echo ` pwd`
9090
91- echo " -----> Fetching app dependencies"
91+ # Unset this var so that if the parent dir is a git repo, it isn't detected
92+ # And all git operations are performed on the respective repos
93+ unset GIT_DIR
94+
95+ echo " -----> Fetching app dependencies with Mix"
9296MIX_ENV=prod mix deps.get
9397
9498echo " -----> Compiling the app"
Original file line number Diff line number Diff line change 22
33cat << EOF
44---
5+ addons:
6+ - heroku-postgresql:dev
7+ default_process_types:
8+ web: mix server
59config_vars:
610 PATH: /app/erlang/bin:/app/elixir/bin:bin:/usr/bin:/bin
711 MIX_ENV: prod
You can’t perform that action at this time.
0 commit comments