Closed dracony closed 7 years ago
Why? What for?
Good question ))
For example so that some automatic code linting tool can easily find your sources, etc.
Honestly, I am not in favor of this. If you rename your src file to something else, then you aren't in compliance.
-1
Cheers! :) =C=
/me furrows brow
I don't see the point of redefining the structure; the whole idea here is that there's a standard skeleton, already agreed-upon by a large number of existing packages.
Alright, I guess I really took the cake with useless complexity with this)
A small idea I have would be allow for some sort of an optional
.skeleton.php
file that would make it possible to redefine the structure. Could look something like this:You get the idea. This would make it possible for projects with existing structure that they can't just change to still make the directory mapping known to some components that need it.
For example bower allows specifying
main
files in the bower.json instead of relying on a predefined component structure.