   defp generate_umbrella(_app, mod, path, _opts) do
     assigns = [app: nil, mod: mod]
 
-    create_file ".gitignore", gitignore_text()
+    create_file ".gitignore", gitignore_template(assigns)
     create_file "README.md", readme_template(assigns)
     create_file "mix.exs", mix_exs_umbrella_template(assigns)
 


  # Also ignore archive artifacts (built via "mix archive.build").
  *.ez
  """

  embed_template :mix_exs, """

  <% end %>
  """

  embed_template :gitignore, """
  # The directory Mix will write compiled artifacts to.
  /_build/

