www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Source code folder naming convention?

reply Vladimirs Nordholm <v vladde.net> writes:
Hello.

Is there a "best practice" of what the source folder should be 
called?

I commonly see either `source` or `src` in GitHub projects, but 
cannot find any formal best practice naming convention.
Nov 04 2020
next sibling parent Mike Parker <aldacron gmail.com> writes:
On Wednesday, 4 November 2020 at 11:15:33 UTC, Vladimirs Nordholm 
wrote:
 Hello.

 Is there a "best practice" of what the source folder should be 
 called?

 I commonly see either `source` or `src` in GitHub projects, but 
 cannot find any formal best practice naming convention.
dub looks for both by default. Take your pick.
Nov 04 2020
prev sibling parent Dennis <dkorpel gmail.com> writes:
On Wednesday, 4 November 2020 at 11:15:33 UTC, Vladimirs Nordholm 
wrote:
 Is there a "best practice" of what the source folder should be 
 called?
`dub init` creates a folder named `source`, so I would stick with that.
Nov 04 2020