Crafter.Build/tests/ProjectDependency
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jorijn van der Graaf e62d33c7f0
test: sibling projects inherit the loading project's args
ProjectArgs loads a chain app -> lib -> leaf of LocalProjects with --debug
and a project flag. lib, loaded without .args, has to see both, and so
does its own sibling, which takes the default one level further down.
Copies loaded with `.args = {}` and with an explicit list get nothing and
exactly that list. The GitProjectSpec default is checked on the spec
itself, since a GitProject would need a repository to clone. Without the
defaults, five of its checks fail.

ProjectDependency now also loads its consumer with a project flag: the
pragma dependency must still come back with no args. Without the explicit
`.args = {}` in the pragma path it gets the consumer's flag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 02:56:15 +01:00
..
fixture fix: let a project file ask whether it is the top-level project 2026-10-02 22:02:40 +02:00
main.cpp test: sibling projects inherit the loading project's args 2026-10-31 02:56:15 +01:00