Comments (10)
@chrismccord won't that mean we would need node.js installed too? (https://github.com/ddollar/heroku-buildpack-multi).
\cc: @ericmj
from heroku-buildpack-elixir.
Just an FYI that Heroku Buildpacks have changed a bit. You no longer need the multi-buildpack to specify a build pipeline. Instead, specify each buildpack individually with the following CLI:
$ heroku buildpacks:set https://github.com/HashNuke/heroku-buildpack-elixir.git
$ heroku buildpacks:set https://github.com/heroku/heroku-buildpack-nodejs
Regarding brunch asset compilation, here's how they do it in the official Ruby/Rails buildpack.
from heroku-buildpack-elixir.
Should we automatically run a post_compile
/ post_compile.sh
file in your root directory or should we take the file from a post_compile
option in elixir_buildpack.config
?
/cc @josevalim
from heroku-buildpack-elixir.
I thought the plan was to not support hooks. What changed? :)
from heroku-buildpack-elixir.
At work, I was working with a non-Heroku deployed app where the compilers
option in mix.exs
was used to add a :frontend
compiler so that everytime the app is started or compiled, the frontend too gets compiled.
Curious how a post compile hook will help on Heroku since we depend on mutl-buildpack for asset compilation.
from heroku-buildpack-elixir.
At work, I was working with a non-Heroku deployed app where the compilers option in mix.exs was used to add a :frontend compiler so that everytime the app is started or compiled, the frontend too gets compiled.
The problem is that you might not want to compile assets on every compilation or app start so a Heroku specific compilation step is very useful.
Curious how a post compile hook will help on Heroku since we depend on mutl-buildpack for asset compilation.
Not sure what you are asking here, as long as the node buildpack runs before the elixir buildpack it will work.
from heroku-buildpack-elixir.
@ericmj I meant to ask what the use case was for the post-compile hook. I remember there was this discussion earlier in another issue and that that issue was closed.
Sorry read your comment in bed and forgot to reply the other day.
from heroku-buildpack-elixir.
from heroku-buildpack-elixir.
@ericmj 👍 thanks for linking. Got it now ~!
from heroku-buildpack-elixir.
Yaaay ~!
from heroku-buildpack-elixir.
Related Issues (20)
- Is there anyway to add an aditional binary that can be used at compile time. HOT 3
- Support the new Cloud Native Buildpack (CNB) format.
- Will use cached Elixir version even if Erlang version changes HOT 6
- Doesn't work with Heroku-20 Stack HOT 8
- Crypto.app not found HOT 1
- Too many levels of symbolic links HOT 10
- Error building with Heroku-20 stack HOT 5
- Update Readme With Updated Default Versions
- Buildpack incompatible with building in /app HOT 13
- Build isn't marked as failing if errors occur
- Use OTP builds from hexpm/bob HOT 1
- Cache isn't cleared on stack change which results in shared library errors HOT 3
- Can't deploy on Heroku-20, Erlang 23, Elixir 1.12 HOT 1
- libtinfo.so.5 issue with using buildpack HOT 17
- gzip: stdin: not in gzip format HOT 2
- Can't deploy on Heroku-20, Erlang 21.2.5, Elixir 1.12.2 HOT 2
- Support for Stack Heroku-22 HOT 1
- Issues upgrading to Heroku 22 HOT 4
- mix releases should be required (or suggested) for Elixir 1.15
- Deployment of poncho apps
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from heroku-buildpack-elixir.