Buildpack for gigalixir app's that use Elixir Core releases.
For mix, see https://github.com/gigalixir/gigalixir-buildpack-mix
For distillery, see https://github.com/gigalixir/gigalixir-buildpack-distillery
To use this, see https://gigalixir.readthedocs.io/en/latest/modify-app/releases.html#specify-buildpacks-optional
- Easy configuration with
releases_buildpack.config
file - Easy configuration with
GIGALIXIR_RELEASES_BUILDPACK_CONFIG
environment variable. - Support for umbrella app compilation through
app_relative_path
configuration.
Create a releases_buildpack.config
file in your app's root dir if you want to override the defaults.
The file's syntax is bash.
Alternatively add your config to GIGALIXIR_RELEASES_BUILDPACK_CONFIG
.
For example:
gigalixir config:set GIGALIXIR_RELEASES_BUILDPACK_CONFIG='app_relative_path="./apps/my_umbrella"'
If you don't specify a configuration, then the defaults are loaded from the buildpack's
releases_buildpack.config
file.
Configuration options are applied in the following order:
- buildpack defaults
distillery_buildpack.config
from your repo (for backwards compatibility)releases_buildpack.config
from your repoGIGALIXIR_RELEASES_BUILDPACK_CONFIG
environment variable
Tests are available in the test directory.
To run all tests, use for tst in test/*; do $tst; done
.