From 8ffcb49cf8596feb0ae8120dfeb3e15f00a5b23e Mon Sep 17 00:00:00 2001 From: Tyler Wilding Date: Sat, 30 Apr 2022 21:32:43 -0400 Subject: [PATCH] scripts: make the error message even more obvious.... --- Taskfile.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index 0762f0ff72..a2b14b41da 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -9,27 +9,27 @@ tasks: desc: "Extracts Jak 1 - NTSC - Black Label assets" preconditions: - sh: test -f {{.DECOMP_BIN_RELEASE_DIR}}/decompiler{{.EXE_FILE_EXTENSION}} - msg: "Couldn't locate decompiler executable -- Have you compiled in release mode?" + msg: "Couldn't locate decompiler executable in '{{.DECOMP_BIN_RELEASE_DIR}}/decompiler'" cmds: - '{{.DECOMP_BIN_RELEASE_DIR}}/decompiler "./decompiler/config/jak1_ntsc_black_label.jsonc" "./iso_data" "./decompiler_out" "decompile_code=false"' boot-game: desc: "Boots the game" preconditions: - sh: test -f {{.GK_BIN_RELEASE_DIR}}/gk{{.EXE_FILE_EXTENSION}} - msg: "Couldn't locate runtime executable -- Have you compiled in release mode?" + msg: "Couldn't locate runtime executable in '{{.GK_BIN_RELEASE_DIR}}/gk'" cmds: - "{{.GK_BIN_RELEASE_DIR}}/gk -boot -fakeiso -debug -v" run-game: desc: "Start the game's runtime" preconditions: - sh: test -f {{.GK_BIN_RELEASE_DIR}}/gk{{.EXE_FILE_EXTENSION}} - msg: "Couldn't locate runtime executable -- Have you compiled in release mode?" + msg: "Couldn't locate runtime executable in '{{.GK_BIN_RELEASE_DIR}}/gk'" cmds: - "{{.GK_BIN_RELEASE_DIR}}/gk -fakeiso -debug -v" run-game-quiet: preconditions: - sh: test -f {{.GK_BIN_RELEASE_DIR}}/gk{{.EXE_FILE_EXTENSION}} - msg: "Couldn't locate runtime executable -- Have you compiled in release mode?" + msg: "Couldn't locate runtime executable in '{{.GK_BIN_RELEASE_DIR}}/gk'" cmds: - "{{.GK_BIN_RELEASE_DIR}}/gk -fakeiso" repl: @@ -38,7 +38,7 @@ tasks: OPENGOAL_DECOMP_DIR: "jak1/" preconditions: - sh: test -f {{.GOALC_BIN_RELEASE_DIR}}/goalc{{.EXE_FILE_EXTENSION}} - msg: "Couldn't locate compiler executable -- Have you compiled in release mode?" + msg: "Couldn't locate compiler executable in '{{.GOALC_BIN_RELEASE_DIR}}/goalc'" cmds: - "{{.GOALC_BIN_RELEASE_DIR}}/goalc" # DEVELOPMENT @@ -130,7 +130,3 @@ tasks: cast-repl: cmds: - cmd: python ./scripts/cast-repl.py - # Doesn't Currently Work - # clean-all-types: - # cmds: - # - python ./scripts/cleanup-all-types.py