File: __init__.py

package info (click to toggle)
buildstream 1.6.8-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 7,412 kB
  • sloc: python: 27,865; sh: 1,339; makefile: 137; ansic: 48
file content (14 lines) | stat: -rw-r--r-- 399 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from buildstream._context import Context
from buildstream._project import Project
from buildstream._loader import Loader


#
# This is used by the loader test modules, these should
# be removed in favor of testing the functionality via
# the CLI like in the frontend tests anyway.
#
def make_loader(basedir):
    context = Context()
    project = Project(basedir, context)
    return project.loader