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

@keplersj 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.

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 keplersj commented Sep 7, 2015

@bcardiff
Copy link

@bcardiff 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 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

@keplersj 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 gitignore.io 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
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants