New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Crystal.gitignore #1589

wants to merge 1 commit into
base: master


None yet
4 participants

keplersj commented Jul 12, 2015

Taken from the Crystal compiler's project init feature. Gitignore created by @flaviut.

What is it?

Crystal is a language derived from Ruby, compiled for the LLVM. Because it's only syntactically similar to Ruby there are some differences which should be taken into account.

What is being ignored?

Files created by the compiler in a normal session are being ignored here. .deps is where the compiler pulls in dependencies declared in a project's Projectfile. libs is similar is that it is external code downloaded later. .crystal is contains the LLVM bytecode created by the compiler at compilation. doc is well documentation. And .deps.lock is comparable to a Gemfile.lock.


Crystal is a fairly new language which has been recently gathering a following. Thought it would be nice for new Crystal projects on GitHub projects to be created with a proper gitignore.

@arcresu arcresu referenced this pull request Jul 12, 2015


Added Crystal.gitignore #1518


This comment has been minimized.

keplersj commented Sep 7, 2015


This comment has been minimized.

bcardiff commented Sep 7, 2015

👍 LGTM for the time being.
Things might change a little when dependency system get more mature towards 1.0.

Thanks @k2b6s9j

NB: The submitted .gitignore is consistent with the built in crystal init command which uses


This comment has been minimized.

veelenga commented Oct 2, 2015

Since 0.8.0 release Crystal use shards to resolve dependencies and .gitignore need to be refreshed:

.deps -> .shards
.deps.lock -> shard.lock


This comment has been minimized.

keplersj commented Jul 16, 2017

This PR has gone outdated and superseded by #2309. However, considering that this is my oldest sitting Pull Request at 2 years and 5 days it seems unlikely that GitHub will take in new language gitignores. 😒 That being said I've been using @joeblau's personally and it works great.

@keplersj keplersj closed this Jul 16, 2017

@keplersj keplersj deleted the keplersj:patch-1 branch Jul 16, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment