2021-02-05 15:00:17 -05:00
|
|
|
version: '3'
|
|
|
|
|
|
|
|
tasks:
|
|
|
|
format:
|
|
|
|
cmds:
|
2021-03-06 10:46:26 -05:00
|
|
|
- python ./third-party/run-clang-format/run-clang-format.py -r common decompiler game goalc test -i
|
|
|
|
run-game:
|
|
|
|
cmds:
|
2021-05-01 10:33:41 -04:00
|
|
|
- ./out/build/Debug/bin/gk.exe -fakeiso -debug -nodisplay
|
2021-03-06 10:46:26 -05:00
|
|
|
repl:
|
|
|
|
cmds:
|
2021-05-28 20:11:06 -04:00
|
|
|
- ./out/build/Release/bin/goalc.exe -auto-lt
|
2021-05-07 22:56:37 -04:00
|
|
|
decomp:
|
|
|
|
cmds:
|
2021-05-28 20:11:06 -04:00
|
|
|
- ./out/build/Release/bin/decompiler.exe "./decompiler/config/jak1_ntsc_black_label.jsonc" "./iso_data/jak1" "./decompiler_out/jak1"
|
2021-05-07 22:56:37 -04:00
|
|
|
decomp-clean:
|
|
|
|
cmds:
|
|
|
|
- rm ./decompiler_out/**/*.asm
|
2021-05-09 17:03:58 -04:00
|
|
|
- rm ./decompiler_out/**/*disasm.gc
|
|
|
|
decomp-file:
|
|
|
|
cmds:
|
2021-09-19 21:45:14 -04:00
|
|
|
- python ./scripts/next-decomp-file.py --files "{{.FILES}}"
|
2021-05-09 17:03:58 -04:00
|
|
|
- task: decomp
|
|
|
|
decomp-list:
|
|
|
|
cmds:
|
2021-05-13 20:46:37 -04:00
|
|
|
- python ./scripts/next-decomp-file.py --list "{{.LIST}}"
|
|
|
|
vars:
|
|
|
|
LIST: '{{default "0" .LIST}}'
|
2021-05-15 19:42:23 -04:00
|
|
|
# python -m pip install -U watchdog[watchmedo]
|
|
|
|
decomp-watch:
|
|
|
|
cmds:
|
2021-09-19 21:45:14 -04:00
|
|
|
- watchmedo shell-command --drop --patterns="*.gc;*.jsonc" --recursive --command='task decomp-file FILES="{{.FILES}}"' ./decompiler/config/
|
2021-06-01 22:41:37 -04:00
|
|
|
clean-all-types:
|
2021-05-08 22:19:36 -04:00
|
|
|
cmds:
|
2021-05-09 17:09:40 -04:00
|
|
|
- python ./scripts/cleanup-all-types.py
|
2021-05-20 14:18:28 -04:00
|
|
|
analyze-ee-memory:
|
|
|
|
cmds:
|
2021-07-04 18:25:08 -04:00
|
|
|
- ./out/build/Release/bin/memory_dump_tool.exe "{{.FILE}}" ./ > ee-analysis.log
|
2021-05-20 14:18:28 -04:00
|
|
|
watch-pcsx2:
|
|
|
|
cmds:
|
|
|
|
- watchmedo shell-command --drop --patterns="*.p2s" --recursive --command='task analyze-ee-memory FILE="${watch_src_path}"' "{{.SAVESTATE_DIR}}"
|
|
|
|
vars:
|
|
|
|
SAVESTATE_DIR: '{{default "." .SAVESTATE_DIR}}'
|
2021-05-26 19:40:12 -04:00
|
|
|
offline-tests:
|
|
|
|
cmds:
|
2021-05-28 20:11:06 -04:00
|
|
|
- ./out/build/Release/bin/offline-test.exe "./iso_data/jak1"
|
2021-06-06 23:01:30 -04:00
|
|
|
add-reference-test:
|
|
|
|
cmds:
|
|
|
|
- task: decomp-file
|
2021-09-19 21:45:14 -04:00
|
|
|
- python ./scripts/add-reference-test.py --file "{{.FILES}}"
|
2021-06-06 23:01:30 -04:00
|
|
|
- task: offline-tests
|
2021-09-06 21:10:19 -04:00
|
|
|
add-reference-test-no-decomp:
|
|
|
|
cmds:
|
2021-09-19 21:45:14 -04:00
|
|
|
- python ./scripts/add-reference-test.py --file "{{.FILES}}"
|
2021-09-06 21:10:19 -04:00
|
|
|
- task: offline-tests
|
2021-05-26 19:40:12 -04:00
|
|
|
update-reference-tests:
|
|
|
|
cmds:
|
2021-07-04 18:25:08 -04:00
|
|
|
- cmd: python ./scripts/default-file-or-folder.py --path failures
|
2021-06-06 23:01:30 -04:00
|
|
|
- cmd: ./out/build/Release/bin/offline-test.exe "./iso_data/jak1" --dump-mode
|
|
|
|
ignore_error: true
|
2021-06-12 21:52:55 -04:00
|
|
|
- python ./scripts/update_decomp_reference.py ./failures ./test/decompiler/reference/
|
2021-05-26 19:40:12 -04:00
|
|
|
- task: offline-tests
|
2021-08-13 21:14:05 -04:00
|
|
|
find-label-types:
|
|
|
|
cmds:
|
2021-09-19 21:45:14 -04:00
|
|
|
- python ./scripts/next-decomp-file.py --files "{{.FILES}}"
|
2021-08-13 21:14:05 -04:00
|
|
|
- task: decomp
|
2021-09-19 21:45:14 -04:00
|
|
|
- python ./scripts/find-label-types.py --file "{{.FILES}}"
|
2021-09-06 14:29:06 -04:00
|
|
|
type-test:
|
|
|
|
cmds:
|
|
|
|
- ./out/build/Release/bin/goalc-test.exe --gtest_brief=0 --gtest_filter="*TypeConsistency*"
|
2021-09-19 21:45:14 -04:00
|
|
|
update-gsrc:
|
|
|
|
cmds:
|
|
|
|
- python ./scripts/next-decomp-file.py --files "{{.FILES}}"
|
|
|
|
- task: decomp
|
|
|
|
- python ./scripts/update-goal-src.py --files "{{.FILES}}"
|
|
|
|
- task: type-test
|
2021-09-06 21:10:19 -04:00
|
|
|
# TODO - make a script that checks for function/method splits
|
|
|
|
file-good?:
|
|
|
|
cmds:
|
|
|
|
- task: type-test
|
|
|
|
- task: offline-tests
|
|
|
|
- task: find-label-types
|