-
Notifications
You must be signed in to change notification settings - Fork 111
/
Copy pathtasks.py
44 lines (41 loc) · 1.12 KB
/
tasks.py
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
from __future__ import print_function
import os
from compas_invocations2 import build
from compas_invocations2 import docs
from compas_invocations2 import style
from compas_invocations2 import tests
from compas_invocations2 import grasshopper
from invoke import Collection
ns = Collection(
docs.help,
style.check,
style.lint,
style.format,
docs.docs,
docs.linkcheck,
tests.test,
tests.testdocs,
tests.testcodeblocks,
build.prepare_changelog,
build.clean,
build.release,
build.build_ghuser_components,
build.build_cpython_ghuser_components,
grasshopper.yakerize,
grasshopper.publish_yak,
)
ns.configure(
{
"base_folder": os.path.dirname(__file__),
"ghuser": {
"source_dir": "src/compas_ghpython/components",
"target_dir": "src/compas_ghpython/components/ghuser",
"prefix": "COMPAS: ",
},
"ghuser_cpython": {
"source_dir": "src/compas_ghpython/components_cpython",
"target_dir": "src/compas_ghpython/components_cpython/ghuser",
"prefix": "COMPAS: ",
},
}
)