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