@@ -183,11 +183,11 @@ defmodule Mix.Tasks.New do
183
183
184
184
# Dependencies can be hex.pm packages:
185
185
#
186
- # {:mydep, "~> 0.3.0"}
186
+ # {:mydep, "~> 0.3.0"}
187
187
#
188
188
# Or git/path repositories:
189
189
#
190
- # {:foobar , git: "https://github.com/elixir-lang/foobar .git", tag: "0.1"}
190
+ # {:mydep , git: "https://github.com/elixir-lang/mydep .git", tag: "0.1"}
191
191
#
192
192
# Type `mix help deps` for more examples and options
193
193
defp deps do
@@ -216,9 +216,17 @@ defmodule Mix.Tasks.New do
216
216
<%= @otp_app %>
217
217
end
218
218
219
- # List all dependencies in the format:
219
+ # Dependencies can be hex.pm packages:
220
+ #
221
+ # {:mydep, "~> 0.3.0"}
222
+ #
223
+ # Or git/path repositories:
224
+ #
225
+ # {:mydep, git: "https://github.com/elixir-lang/mydep.git", tag: "0.1"}
220
226
#
221
- # {:foobar, git: "https://github.com/elixir-lang/foobar.git", tag: "0.1"}
227
+ # To depend on another app inside the umbrella:
228
+ #
229
+ # {:myapp, in_umbrella: true}
222
230
#
223
231
# Type `mix help deps` for more examples and options
224
232
defp deps do
@@ -236,9 +244,13 @@ defmodule Mix.Tasks.New do
236
244
deps: deps]
237
245
end
238
246
239
- # List all dependencies in the format:
247
+ # Dependencies can be hex.pm packages:
248
+ #
249
+ # {:mydep, "~> 0.3.0"}
250
+ #
251
+ # Or git/path repositories:
240
252
#
241
- # {:foobar , git: "https://github.com/elixir-lang/foobar .git", tag: "0.1"}
253
+ # {:mydep , git: "https://github.com/elixir-lang/mydep .git", tag: "0.1"}
242
254
#
243
255
# Type `mix help deps` for more examples and options
244
256
defp deps do
0 commit comments