parent
020aaa0b9a
commit
928d84cf15
1 changed files with 5 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
from pathlib import Path
|
||||
|
||||
from rwx import Object
|
||||
from rwx.ps import run
|
||||
|
||||
|
||||
class Project(Object):
|
||||
|
@ -18,3 +19,7 @@ class Project(Object):
|
|||
self.file = self.raw.resolve()
|
||||
self.root: Path = self.file.parent
|
||||
self.name: str = self.root.name
|
||||
|
||||
def build(self) -> None:
|
||||
"""Build the project."""
|
||||
run(str(self.root / "build.py"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue