File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -262,11 +262,11 @@ defmodule Mix.Tasks.New do
262
262
end
263
263
"""
264
264
265
- embed_template :config , """
265
+ embed_template :config , ~S """
266
266
# This file is responsible for configuring your application and
267
267
# its dependencies. It must return a keyword list containing the
268
- # application name and another keyword list with the application
269
- # key-value pairs.
268
+ # application name and have as value another keyword list with
269
+ # the application key-value pairs.
270
270
271
271
# Note this configuration is loaded before any dependency and is
272
272
# restricted to this project. If another project depends on this
@@ -276,13 +276,17 @@ defmodule Mix.Tasks.New do
276
276
# in your mix.exs file. For example, you can emulate configuration
277
277
# per environment by setting:
278
278
#
279
- # config_path: "config/\ # {Mix.env}.exs"
279
+ # config_path: "config/#{Mix.env}.exs"
280
280
#
281
281
# Changing any file inside the config directory causes the whole
282
282
# project to be recompiled.
283
283
284
- [dep1: [key: :value],
285
- dep2: [key: :value]]
284
+ # Sample configuration:
285
+ #
286
+ # [dep1: [key: :value],
287
+ # dep2: [key: :value]]
288
+
289
+ []
286
290
"""
287
291
288
292
embed_template :lib , """
You can’t perform that action at this time.
0 commit comments