Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当使用 Guard、Rake 和 Bundler 等将配置文件存储在项目根目录中的多个工具时,根文件夹开始变得杂乱无章,例如:
如果使用其他工具,谁知道还有什么...
是否还有其他地方可以存储这些工具的配置文件,仍然允许以相同的方式调用它们?
Rake 接受 --rakefile 或 -f [filename] Bundler 接受 --gemfile [filename]
因此,您可以创建一个目录,例如“toolfiles”并将 Rakefile 和 Gemfile 放入其中。当然,每次使用该工具时都包含文件名,您会被卡住。
我对Guardfile一无所知。