-
Notifications
You must be signed in to change notification settings - Fork 168
Add .tfignore
subgenerator [question]
#404
Comments
If we add this option someone will have to keep it in sync with .gitignore use in ASP.NET projects. |
The syntax looks similar to .gitignore, so I imagine that it may be possible to just rename a .gitignore file to be .tfignore? (I imagine that tfignore will ignore any rules that aren't compatible) Not 100% sure as I have not tested this. Here's some resources: |
We're really trying to avoid command line switches like that. The only real reason we implemented that for grunt was that we used to create a grunt file by default. We are considering an interactive flow where this may make sense #367 (comment) I'd be supportive of a sub-generator but I'd like to avoid the --tfs flag. |
Agreed , options for generators are not a good path. |
I totally understand the desire to avoid another command line switch. I'll start working on a .tfignore sub-generator. In regards to the coding changes, does anyone have tips on how to test this sub-generator (on Windows) once completed? Is there a test script I should be running? |
@scottaddie
after this running |
@peterblazejewicz Pull request submitted. Thank you for the detailed instructions! |
Closing this issue, as the new sub-generator was merged in and is now available. |
Can a
.tfignore
subgenerator be added to support the TFS crowd? I'd be willing to take this on. Similar to what's being done to create gruntfile.js, I envision there being an option like the following:yo aspnet --tfs
When the
tfs
option has been provided, a.tfignore
file will be created instead of a.gitignore
file. It could ignore the same files and folders being ignored in the.gitignore
file.The text was updated successfully, but these errors were encountered: