exlinc / mdlr

MDLR ("Modular") gives you declarative and easy Git 'submodules without the pain of submodules'
Apache License 2.0
27 stars 2 forks source link

Init in root dir or not to #8

Open BarbzYHOOL opened 5 years ago

BarbzYHOOL commented 5 years ago

I guess the answer is obvious but I wanted to ask:

should we mdlr init at the root or not necessarily?

What happens when we init in a subdir, and what happens if we have 2 different mdlr.yml in two different directories?

svarlamov commented 5 years ago

Sorry for the late response on this! Basically, mdlr only supports in the root dir right now -- so you should run mdlr init in the root dir of the project, and maintain a single one there...

Open to exploring support for making mdlr recursive as that seems natural (similar to how .gitignores works etc.)

BarbzYHOOL commented 5 years ago

Apparently the original submodule command also requires to be in root, but yeah, that would ease the use :P