cargosense/Setup Elixir Project
Install Erlang/OTP and Elixir (and optionally Hex and Rebar); fetch, cache, and compile dependencies; and build and cache the app.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| otp-version | Erlang/OTP version to install. Reads from `.tool-versions` if unset. | — | — |
| elixir-version | Elixir version to install. Reads from `.tool-versions` if unset. | — | — |
| install-hex | Install Hex using `mix local.hex`. | — | true |
| install-rebar | Install Rebar using `mix local.rebar`. | — | true |
| cache-key | An arbitrary string added to the derived cache key names. Set or change to invalidate existing caches. | — | v1 |
| config-script | An optional Bash script to run before fetching and compiling dependencies. May be used to configure Mix or Rebar3. | — | — |
| build-app | Compile application using `mix compile`. | — | true |
| build-flags | Additional flags to pass to `mix compile`. | — | --all-warnings |
Outputs
| name | description |
|---|---|
| otp-version | Exact Erlang/OTP version installed. |
| elixir-version | Exact Elixir version installed. |