Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Dec 20, 2018

bdep new will create .gitignore with /.idea/ to ignore JetBrains's (clion) IDE files

.bdep/
/.idea/

# Compiler/linker output.
#
*.d
...

@boris-kolpackov
Copy link
Member

Thanks for the suggestion/patch. I am, however, wondering, if this is the best approach. Specifically, will we keep adding things like this for other IDEs/tools/etc? If so, this will result in the generated .gitignore growing to include "everything under the sun" which I personally don't find appealing (I like to keep only what I need).

Perhaps we need to think about some kind of templating/skeleton system for bdep-new? For example, it could be a directory that contains prefix/suffix files that are added before/after the generated content. As well as, maybe, other files (say, like README) that are copied over?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant