Skip to content
Snippets Groups Projects
Commit c0e47c44 authored by Jonathan Maw's avatar Jonathan Maw
Browse files

_project.py: Find project from workspace if outside of a project

Searching for the workspace file is preferred to searching for the
project file for the moment, because it avoids the circumstance of
the workspaces being inside a directory where a higher-level directory
may have project.conf (but may not be a buildstream project).

This will benefit from being revisited when support for multiple
projects owning a workspace is supported - if we're inside a project and
running commands in a workspace that refers to multiple projects, we
want the one we're inside, not whichever added it first.
parent 2795b247
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment