File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11/target
2+ /main.wasm
Original file line number Diff line number Diff line change 1+ # https://taskfile.dev
2+ version : " 3"
3+
4+ tasks :
5+ build :
6+ cmds :
7+ - firefly_cli build
8+ - cp $(firefly_cli vfs)/roms/demo/lua-triangle/_bin main.wasm
9+
10+ release :
11+ desc : build and publish release
12+ cmds :
13+ - task : build
14+ - test {{.CLI_ARGS}}
15+ - grep -F '"{{.CLI_ARGS}}"' Cargo.toml
16+ - git tag {{.CLI_ARGS}}
17+ - git push
18+ - git push --tags
19+ - gh release create --generate-notes {{.CLI_ARGS}}
20+ - gh release upload {{.CLI_ARGS}} main.wasm
21+
22+ format :
23+ desc : " run code formatters"
24+ cmds :
25+ - cargo fmt
26+ lint :
27+ desc : " run linters"
28+ cmds :
29+ - cargo clippy --target wasm32-unknown-unknown
30+ all :
31+ cmds :
32+ - task : format
33+ - task : lint
34+ default :
35+ - task : all
You can’t perform that action at this time.
0 commit comments