How Projects and Dependencies work in Atlas
masterAtlas distinguishes between Projects and Dependencies primarily by their location:
- Projects: A directory containing an
atlas.configfile. Projects can share dependencies with each other using thelinkcommand. - Dependencies: Packages located inside a project's
deps/directory.
Key behaviors:
- Priority: For dependency resolution, a project always has higher priority than a dependency.
- Interchangeability: You can move a dependency out of the
deps/directory to turn it into a project, or move a project into thedeps/directory to turn it into a dependency. - Linking: Projects can share dependencies via
nimble-linkfiles created by thelinkcommand.