Use a .cake
folder by default instead of a tools
folder (?)
#2979
augustoproiete
started this conversation in
Ideas
Replies: 3 comments 4 replies
-
We have an open issue for using global packages folder (#2830) which I think would solve the mentioned points |
Beta Was this translation helpful? Give feedback.
4 replies
-
I came here to make this exact suggestion. Props to @augustoproiete, you got here first! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Tracking via #3263 scheduled for |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Idea/suggestion for a future version of Cake:
As we all know, Cake uses a folder for downloading and extracting NuGet packages (and other things), and by default it uses a
./tools
folder.There a couple of (small) issues I've seen because of that:
Adding Cake to existing projects (any language/platform)
./tools
is a common enough name that some projects use for other purposes (even internal to the project) and when introducing Cake to existing projects that already define a./tools
folder, one needs to be careful to ensure Cake won't touch that folder and will use a different folder instead, which is not as straightforward as changing thecake.config
as sometimes that means adapting bootstrappers that don't honor what's set in thecake.config
.Adding Cake to new projects (.NET-specific)
When starting a new project, it's common for devs to use the default
VisualStudio.gitignore
on GitHub. The good news is that this .gitignore already brings a couple of lines specific to Cake. The bad news is that they are commented out, because having a./tools
by default would be too broad of a rule.If Cake started using a
.cake
folder (or similar), it would avoid the issues above as it's unlikely users would have a.cake
folder for a different purpose other than using Cake, and it would be specific enough to be included in theVisualStudio.gitignore
template.Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions