-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
46 lines (40 loc) · 1.25 KB
/
Taskfile.yml
File metadata and controls
46 lines (40 loc) · 1.25 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
version: '3'
includes:
common:
taskfile: ./packages/mono-dev/task/common.yaml
flatten: true
optional: true
build: { taskfile: ./packages/build, dir: ./packages/build, internal: true }
cli: { taskfile: ./packages/cli, dir: ./packages/cli, internal: true }
corelib: { taskfile: ./packages/corelib, dir: ./packages/corelib, internal: true }
registry: { taskfile: ./packages/registry, dir: ./packages/registry, internal: true }
tasks:
install:
- rm -rf packages/mono-dev
- mkdir -p packages
- git clone https://github.com/Pistonight/mono-dev --depth 1 packages/mono-dev
install-cargo-extra-tools:
alias: [icets]
cmds:
- cargo install lfmt --git https://github.com/Pistonite/shellutils
check:
- task: corelib:check
- task: registry:check
- task: cli:check
- lfmt -c
fix:
- task: registry:fix
- cargo fmt
- lfmt
test:
- task: corelib:test
- task: registry:test
clean:
- task: registry:clean
- cargo clean
- cd packages/tools && cargo clean
shaft:
- task: run-build
- cargo run --bin shaft -- {{.CLI_ARGS}}
run-build:
- cargo run --bin shaft-build