我在使用Crystal分片的.gitignore文件中忽略了什么?我来自Node.js背景,我会忽略臭名昭着的node_modules。我最近运行shards install
并获得了一些新的文件和目录。现在,我忽略了lib /和.shards /并将shard.lock保存到VCS。
我是否应该知道有什么约定?
答案 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
文件和其他有用的默认值。