HashNuke / heroku-buildpack-elixir

Heroku Buildpack for Elixir with nitro boost
MIT License
810 stars 304 forks source link

Support app_relative_path #206

Closed kayhide closed 3 years ago

kayhide commented 3 years ago

This PR adds an ability to use a sub directory where elixir application lives.

I thought there might be some people who want to do the same. So I opened PR.

Please take a look. Thanks!

kayhide commented 3 years ago

@jesseshieh Hey, thanks for your quick response.

Yeah, I was aware of your approach and was actually using it. But the very recent update changed things and your approach is not working any more.

https://github.com/HashNuke/heroku-buildpack-elixir/pull/203/files

This update made MIX_HOME and HEX_HOME to be exported before you change build_path and thus, compile fails because of the mismatch between these variables and actual paths.