-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathtalc.yaml
More file actions
68 lines (68 loc) · 1.96 KB
/
talc.yaml
File metadata and controls
68 lines (68 loc) · 1.96 KB
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
doc: MistQL Project CLI
commands:
- name: install
doc: Install all dependencies in all subdirs
shell: (cd py && uv venv && uv pip install -e ".[dev]") && (cd js && npm install)
- 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 && uv run pytest && uv run mypy 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 && uv 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 && uv publish"
- name: docs
doc: Serves the docs site locally
shell: (cd docs && npm run start)