-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
88 lines (71 loc) · 1.54 KB
/
Taskfile.yml
File metadata and controls
88 lines (71 loc) · 1.54 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
version: '3'
includes:
common:
taskfile: ./packages/mono-dev/task/common.yaml
flatten: true
optional: true
intwc:
taskfile: ./packages/intwc
dir: ./packages/intwc
internal: true
app:
taskfile: ./packages/app
dir: ./packages/app
internal: true
lib:
taskfile: ./packages/prism-lib
dir: ./packages/prism-lib
internal: true
wasm:
taskfile: ./packages/prism-wasm
dir: ./packages/prism-wasm
cli:
taskfile: ./packages/prism-cli
dir: ./packages/prism-cli
tasks:
install-cargo-extra-tools:
aliases: [icets]
cmds:
- task: cargo-binstall
vars:
PACKAGES: magoo wasm-pack
- task: cargo-binstall
vars:
PACKAGES: workex --git https://github.com/Pistonite/workex
install:
desc: Install dependencies for local development
cmds:
- magoo install
- pnpm install
- task: post-install
install-ci:
cmds:
- pnpm install --frozen-lockfile
- task: post-install
post-install:
cmds:
- task: intwc:install
- task: app:install
- task: wasm:install
check:
desc: Run checks
cmds:
- task: lib:check
- task: wasm:check
- task: cli:check
- task: app:check
test:
desc: Run tests
cmds:
- task: lib:test
build-dev:
desc: Sanity build pass
cmds:
- task: cli:build
- task: wasm:wasm-dev-build
- task: app:build
build:
desc: Build for production
cmds:
- task: wasm:build
- task: app:build