Skip to content
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

Closed
wants to merge 1 commit into from
Closed

Create Crystal.gitignore #1589

wants to merge 1 commit into from

Conversation

keplersj
Copy link

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.

Why?

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 mentioned this pull request Jul 12, 2015
@keplersj
Copy link
Author

keplersj commented Sep 7, 2015

/cc @asterite @bcardiff @waj @jhass

@bcardiff
Copy link

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 https://github.com/manastech/crystal/blob/master/src/compiler/crystal/tools/init/template/gitignore.ecr

@veelenga
Copy link

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

@keplersj
Copy link
Author

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 gitignore.io personally and it works great.

@keplersj keplersj closed this Jul 16, 2017
@keplersj keplersj deleted the patch-1 branch July 16, 2017 06:09
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

re-usable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants