Skip to content

Commit

Permalink
fix: ensure that installer includes apps igniter needs
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Feb 4, 2025
1 parent e4f8b03 commit 17ccf87
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions installer/lib/mix/tasks/igniter.install.ex
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,15 @@ if !Code.ensure_loaded?(Mix.Tasks.Igniter.Install) do
"""
use Mix.Task

@apps [:logger, :public_key, :ssl, :inets, :eex]

@impl true
@shortdoc "Install a package or packages, and run any associated installers."
def run(argv) do
for app <- @apps do
Mix.ensure_application!(app)
end

message =
cond do
"--igniter-repeat" in argv ->
Expand Down
1 change: 1 addition & 0 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ defmodule Igniter.MixProject do
# Run "mix help compile.app" to learn about applications.
def application do
[
# if you change this, change it in the installer archive too.
extra_applications: [:logger, :public_key, :ssl, :inets, :eex],
plt_add_apps: [:mix]
]
Expand Down

0 comments on commit 17ccf87

Please sign in to comment.