project/build
Some checks are pending
/ job (push) Waiting to run

This commit is contained in:
Marc Beninca 2025-05-25 15:29:11 +02:00
parent 020aaa0b9a
commit 928d84cf15
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -3,6 +3,7 @@
from pathlib import Path from pathlib import Path
from rwx import Object from rwx import Object
from rwx.ps import run
class Project(Object): class Project(Object):
@ -18,3 +19,7 @@ class Project(Object):
self.file = self.raw.resolve() self.file = self.raw.resolve()
self.root: Path = self.file.parent self.root: Path = self.file.parent
self.name: str = self.root.name self.name: str = self.root.name
def build(self) -> None:
"""Build the project."""
run(str(self.root / "build.py"))