-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathTaskfile.yml
More file actions
40 lines (39 loc) · 850 Bytes
/
Taskfile.yml
File metadata and controls
40 lines (39 loc) · 850 Bytes
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
# https://taskfile.dev
version: "3"
tasks:
build:
desc: build ROM
cmds:
- firefly_cli build
- firefly_cli export
release:
desc: build and publish release
cmds:
- task: build
- test {{.CLI_ARGS}}
- grep -F '"{{.CLI_ARGS}}"' Cargo.toml
- git tag {{.CLI_ARGS}}
- git push
- git push --tags
- gh release create --generate-notes {{.CLI_ARGS}}
- gh release upload {{.CLI_ARGS}} sys.settings.zip
format:
desc: run code formatters
cmds:
- cargo fmt
test:
desc: run tests
cmds:
- cargo build --target wasm32-unknown-unknown
- firefly_cli build
lint:
desc: run linters
cmds:
- cargo clippy --target wasm32-unknown-unknown
all:
cmds:
- task: format
- task: lint
- task: test
default:
- task: all