Repository navigation
Expand file tree
/
Copy pathTaskfile.yml
More file actions
63 lines (50 loc) · 1.59 KB
/
Copy pathTaskfile.yml
File metadata and controls
63 lines (50 loc) · 1.59 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
version: '3'
includes:
common:
taskfile: ./node_modules/mono-dev/task/common.yaml
optional: true
flatten: true
cli: { taskfile: ./packages/cli, dir: ./packages/cli, internal: true }
ex-tutorial: { taskfile: ./packages/example-tutorial, dir: ./packages/example-tutorial, internal: true }
ex-multiwindow: { taskfile: ./packages/example-multiwindow, dir: ./packages/example-multiwindow, internal: true }
sdk: { taskfile: ./packages/sdk, dir: ./packages/sdk, internal: true }
doc: { taskfile: ./packages/doc, dir: ./packages/doc, internal: true }
tasks:
install-cargo-extra-tools:
aliases: [icets]
cmds:
- task: cargo-binstall
vars:
PACKAGES: txtpp mdbook shwoop
install:
- pnpm install
- task: post-install
post-install:
- task: doc:install
- task: sdk:install
check:
- task: sdk:build
- task: cli:check
- task: sdk:check
- task: ex-multiwindow:generate
- task: ex-multiwindow:check
test:
- task: ex-tutorial:gen
build-doc:
- task: doc:build
- task: sdk:doc
- cp -r packages/sdk/docs packages/doc/book
publish-sdk:
- task: sdk:publish
publish-cli:
vars:
TAG:
sh: grep -E '^version =' packages/cli/Cargo.toml | head -n1 | sed -E 's/^version = "([^"]+)"$/\1/'
cmds:
- git tag v{{.TAG}}
- git push origin v{{.TAG}}
upgrade:
- pnpm up -r mono-dev @pistonite/pure @types/bun serve
- cargo upgrade
- pnpm dedupe
- pnpm dedupe --check