mirror of
https://github.com/open-goal/jak-project
synced 2026-05-25 23:35:33 -04:00
af2836c452
* scripts: Automatically re-decompile if all-types is modified * decomp: `aligner-h` * remove inspect method
42 lines
1.2 KiB
YAML
42 lines
1.2 KiB
YAML
version: '3'
|
|
|
|
tasks:
|
|
format:
|
|
cmds:
|
|
- python ./third-party/run-clang-format/run-clang-format.py -r common decompiler game goalc test -i
|
|
run-game:
|
|
cmds:
|
|
- ./out/build/Debug/bin/gk.exe -fakeiso -debug -nodisplay
|
|
repl:
|
|
cmds:
|
|
- ./out/build/Debug/bin/goalc.exe -auto-lt
|
|
decomp:
|
|
cmds:
|
|
- ./out/build/Debug/bin/decompiler.exe "./decompiler/config/jak1_ntsc_black_label.jsonc" "./iso_data/jak1" "./decompiler_out/jak1"
|
|
decomp-clean:
|
|
cmds:
|
|
- rm ./decompiler_out/**/*.asm
|
|
- rm ./decompiler_out/**/*disasm.gc
|
|
decomp-next:
|
|
cmds:
|
|
- python ./scripts/next-decomp-file.py --skip "{{.SKIP}}"
|
|
- task: decomp
|
|
vars:
|
|
SKIP: '{{default "0" .SKIP}}'
|
|
decomp-file:
|
|
cmds:
|
|
- python ./scripts/next-decomp-file.py --file "{{.FILE}}"
|
|
- task: decomp
|
|
decomp-list:
|
|
cmds:
|
|
- python ./scripts/next-decomp-file.py --list "{{.LIST}}"
|
|
vars:
|
|
LIST: '{{default "0" .LIST}}'
|
|
# python -m pip install -U watchdog[watchmedo]
|
|
decomp-watch:
|
|
cmds:
|
|
- watchmedo shell-command --drop --patterns="*.gc;*.jsonc" --recursive --command='task decomp-file FILE="{{.FILE}}"' ./decompiler/config/
|
|
cleanup-all-types:
|
|
cmds:
|
|
- python ./scripts/cleanup-all-types.py
|