Skip to content

Commit 30fa762

Browse files
authored
Skip runtime_false deps (#1)
Specifically will be used to not distribute nimble_parsec after merging elixir-lsp/elixir-ls#609
1 parent 9a0317d commit 30fa762

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/mix/tasks/archive/build.deps.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ defmodule Mix.Tasks.Archive.Build.Deps do
6060
## Build delendencies archives
6161
Mix.Dep.load_on_environment(env: Mix.env())
6262
|> Enum.filter(fn %Mix.Dep{app: app} -> not Enum.member?(skip, app) end)
63+
|> Enum.filter(fn %Mix.Dep{opts: opts} -> Keyword.get(opts, :runtime, true) end)
6364
|> Enum.map(fn %Mix.Dep{app: app, status: status} ->
6465
version =
6566
case status do

0 commit comments

Comments
 (0)