-
Notifications
You must be signed in to change notification settings - Fork 2
/
Taskfile.yml
50 lines (41 loc) · 1.13 KB
/
Taskfile.yml
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
version: '3'
env:
CONSOLE_ADDR: 192.168.0.161:5000 # can be overriden in .env
dotenv: [".env"]
includes:
# BOTW RDB App
rdb:
taskfile: ./app/rdb
dir: ./app/rdb
# Recipe Dumper Mod
console:
taskfile: ./dump/console
dir: ./dump/console
# Recipe Dumper and Verifier
dump:
taskfile: ./dump/emulate
dir: ./dump/emulate
tasks:
research:
desc: Reproduce research (--clean to re-download data)
dir: research
aliases: [re]
cmds:
- python main.py {{.CLI_ARGS}}
bfcrc32:
desc: Bruteforce CRC32 (-- <ARGS>)
dir: research
cmds:
- cargo run --release --bin bfcrc32 -- {{.CLI_ARGS}}
check:
vars:
CLIPPY_FLAGS: -D warnings -D clippy::todo -A clippy::comparison-chain
cmds:
- cargo clippy --package botw-recipe-data --all-targets -- {{.CLIPPY_FLAGS}}
- cargo clippy --package botw-recipe-dump-emulate --all-targets -- {{.CLIPPY_FLAGS}}
- cargo clippy --package botw-recipe-database --all-targets -- {{.CLIPPY_FLAGS}}
- cargo fmt --check
fix:
desc: Fix code issues in .rs
cmds:
- cargo fmt --all