什么与碎片包和水晶gitignore

时间:2018-03-13 04:01:22

标签: git crystal-lang

我在使用Crystal分片的.gitignore文件中忽略了什么?我来自Node.js背景,我会忽略臭名昭着的node_modules。我最近运行shards install并获得了一些新的文件和目录。现在,我忽略了lib /和.shards /并将shard.lock保存到VCS。

我是否应该知道有什么约定?

1 个答案:

答案 0 :(得分:2)

您可以获得www.gitignore.io/api/crystal

的第一条线索
cmake

Johannes Müller添加in the comments

  

提示:# Created by https://www.gitignore.io/api/crystal ### Crystal ### /docs/ /lib/ /bin/ /.shards/ # Libraries don't need dependency lock # Dependencies will be locked in application that uses them #/shard.lock # End of https://www.gitignore.io/api/crystal 为您设置项目结构,包括crystal init文件和其他有用的默认值。