Skip to content

Update Elixir.gitignore - #2132

Merged
shiftkey merged 1 commit into
github:masterfrom
rhysforyou:patch-1
Nov 6, 2016
Merged

Update Elixir.gitignore#2132
shiftkey merged 1 commit into
github:masterfrom
rhysforyou:patch-1

Conversation

@rhysforyou

Copy link
Copy Markdown
Contributor

Reasons for making this change:

Elixir code compiled into .beam files shouldn't be checked in to git. These are typically located in the _build folder, but in the case of Elixir files compiled with elixirc, or iex's c helper function, these files can be created elsewhere.

Links to documentation supporting these rule changes:

The creation of BEAM files is briefly touched upon in the Elixir module docs

This should really ignore compiled .beam files as well
@shiftkey

shiftkey commented Nov 6, 2016

Copy link
Copy Markdown
Member

@rpowelll thanks!

@shiftkey
shiftkey merged commit a1e6096 into github:master Nov 6, 2016
u9E9F pushed a commit to u9E9F/gitignore that referenced this pull request Jul 8, 2017
rhcarvalho added a commit to rhcarvalho/gitignore that referenced this pull request Aug 2, 2026
Update Elixir.gitignore to match the upstream template for new Elixir projects.

https://github.com/elixir-lang/elixir/blob/a9021b1c8d932fd5cf2339e4536c5c9ef024003f/lib/mix/lib/mix/tasks/new.ex#L307-L331

Remove `.fetch` which was also removed upstream (elixir-lang/elixir#13871).

Preserve additional patterns added in github#2132, github#2611, and github#2872, adding comments to match the style of the rest of the file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants