Skip to content

Commit aa3dca7

Browse files
committed
Fix deps.compile for gleam
- shell_cmd! wasn't handling tuples - Fix documentation
1 parent 897df15 commit aa3dca7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
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:
@@ -372,7 +372,7 @@ defmodule Mix.Tasks.Deps.Compile do
372372
defp shell_cmd!(%Mix.Dep{app: app} = dep, config, command, env \\ []) do
373373
if Mix.shell().cmd(command, [print_app: true] ++ opts_for_cmd(dep, config, env)) != 0 do
374374
Mix.raise(
375-
"Could not compile dependency #{inspect(app)}, \"#{command}\" command failed. " <>
375+
"Could not compile dependency #{inspect(app)}, \"#{inspect(command)}\" command failed. " <>
376376
deps_compile_feedback(app)
377377
)
378378
end

0 commit comments

Comments
 (0)