This commit is contained in:
parent
020aaa0b9a
commit
32703df110
2 changed files with 6 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
on: [push]
|
||||
jobs:
|
||||
job:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ${{vars.DOCKER}}debian:bookworm
|
||||
steps:
|
||||
|
|
|
@ -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