Skip to content

Commit d1cc990

Browse files
committed
Document hex options
1 parent 7657f7e commit d1cc990

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,13 +157,17 @@ defmodule Mix.Tasks.Deps do
157157
158158
### Path options (`:path`)
159159
160-
* `:path` - the path for the dependency
160+
* `:path` - the path for the dependency
161161
* `:in_umbrella` - when `true`, sets a path dependency pointing to
162162
`"../#{app}"`, sharing the same environment as the current application
163163
164164
### Hex options (`:hex`)
165165
166-
See the [Hex usage documentation](https://hex.pm/docs/usage) for Hex options.
166+
* `:hex` - the name of the package, which defaults to the application name
167+
* `:repo` - the repository to fetch the package from, used by remote or
168+
private repositories. Defaults to the global "hexpm" repository
169+
* `:warn_if_outdated` - warn if there is a more recent version of the package
170+
published to Hex.pm
167171
168172
## Deps task
169173

0 commit comments

Comments
 (0)