Skip to content

Commit ea2ae22

Browse files
Sort entries alphabetically in .gitignore generated by mix new task (#14439)
1 parent b1cbe7a commit ea2ae22

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: lib/mix/lib/mix/tasks/new.ex

+3-2
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,9 @@ defmodule Mix.Tasks.New do
315315
# Where third-party dependencies like ExDoc output generated docs.
316316
/doc/
317317
318+
# Temporary files, for example, from tests.
319+
/tmp/
320+
318321
# If the VM crashes, it generates a dump, let's ignore it too.
319322
erl_crash.dump
320323
@@ -324,8 +327,6 @@ defmodule Mix.Tasks.New do
324327
# Ignore package tarball (built via "mix hex.build").
325328
<%= @app %>-*.tar
326329
<% end %>
327-
# Temporary files, for example, from tests.
328-
/tmp/
329330
""")
330331

331332
embed_template(:mix_exs, """

0 commit comments

Comments
 (0)