-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathtasks.py
More file actions
28 lines (23 loc) · 751 Bytes
/
tasks.py
File metadata and controls
28 lines (23 loc) · 751 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# tasks.py
from invoke import task
DIR_IN_GHUSER_COMPONENTS = "./GH/PyGH/components"
DIR_OUT_GHUER_COMPONENTS = "./build/gh"
@task
def yakerize(c):
path_yakerize : str = "./invokes/yakerize.py"
c.run(f"python {path_yakerize}")
@task
def vscerize(c):
path_vscerize : str = "./invokes/vscerize.py"
c.run(f"python {path_vscerize}")
@task
def syncv(c):
path_sync_version : str = "./invokes/syncv.py"
c.run(f"python {path_sync_version}", hide=False, warn=True)
@task
def ghcomponentize(c):
path_ghcomponentizer = "./invokes/ghcomponentize/ghcomponentizer.py"
c.run(f"python {path_ghcomponentizer} \
--ghio ./invokes/ghcomponentize/ghio \
{DIR_IN_GHUSER_COMPONENTS} \
{DIR_OUT_GHUER_COMPONENTS}")