Skip to content

Commit 22b2c00

Browse files
Rodrigo ÁlvarezPapipo
Rodrigo Álvarez
authored andcommitted
Fix deps.compile for gleam
- shell_cmd! wasn't handling tuples - Fix documentation
1 parent 620eb66 commit 22b2c00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/mix/lib/mix/tasks/deps.compile.ex

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defmodule Mix.Tasks.Deps.Compile do
2222
* `Makefile.win`- invokes `nmake /F Makefile.win` (only on Windows)
2323
* `Makefile` - invokes `gmake` on DragonFlyBSD, FreeBSD, NetBSD, and OpenBSD,
2424
invokes `make` on any other operating system (except on Windows)
25-
* `gleam.toml` - invokes `gleam export`
25+
* `gleam.toml` - invokes `gleam compile-package`
2626
2727
The compilation can be customized by passing a `compile` option
2828
in the dependency:
@@ -350,7 +350,7 @@ defmodule Mix.Tasks.Deps.Compile do
350350
defp shell_cmd!(%Mix.Dep{app: app} = dep, config, command, env \\ []) do
351351
if Mix.shell().cmd(command, [print_app: true] ++ opts_for_cmd(dep, config, env)) != 0 do
352352
Mix.raise(
353-
"Could not compile dependency #{inspect(app)}, \"#{command}\" command failed. " <>
353+
"Could not compile dependency #{inspect(app)}, \"#{inspect(command)}\" command failed. " <>
354354
deps_compile_feedback(app)
355355
)
356356
end

0 commit comments

Comments
 (0)