-
Notifications
You must be signed in to change notification settings - Fork 17
/
talc.yaml
72 lines (72 loc) · 2.11 KB
/
talc.yaml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
doc: MistQL Project CLI
commands:
- name: install
doc: Install all dependencies in all subdirs
shell: (cd py && poetry install) && (cd js && npm install)
- name: version
doc: Print the current version of MistQL in the repository
shell:
"(cd py && (poetry run mqpy 'version' --data ../meta.json))"
- name: test
doc: Test a subproject!
commands:
- name: all
doc: Test everything
shell:
"talc test py && talc test js"
- name: js
doc: Test the python subproject
shell:
"cd js && npm test"
- name: py
doc: Test the JS subproject
shell:
"cd py && poetry run pytest && poetry run mypy -m mistql"
- name: build
doc: Build a subproject!
commands:
- name: all
doc: Build everything
shell:
"talc build py && talc build js"
- name: js
doc: Build the python subproject
shell:
"cd js && npm run build"
- name: py
doc: Build the JS subproject
shell:
"cd py && poetry build"
- name: publish
doc: Publish subprojects to various platforms
commands:
- name: all
doc: Publish all versions of the project
shell:
"talc test all && talc build all && talc dangerous-publish all"
- name: js
doc: Publish the python subproject
shell:
"talc test js && talc build js && talc dangerous-publish js"
- name: py
doc: Publish the JS subproject
shell:
"talc test py && talc build py && talc dangerous-publish py"
- name: dangerous-publish
doc: Publish without testing (aaa)
commands:
- name: all
doc: Publish all versions of the project
shell:
"talc dangerous-publish js && talc dangerous-publish py"
- name: js
doc: Publish the python subproject
shell:
"cd js && npm publish"
- name: py
doc: Publish the JS subproject
shell:
"cd py && poetry publish"
- name: docs
doc: Serves the docs site locally
shell: (cd docs && npm run start)