Skip to content
Commit fc535c23 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 592ff475
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment