Skip to content

Commit

Permalink
Taskfile: Put Linux/Mac/Unix vars in main Taskfile, and only override…
Browse files Browse the repository at this point in the history
… on Windows
  • Loading branch information
mrpippy committed Nov 20, 2024
1 parent 8f445bd commit 937d181
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 19 deletions.
16 changes: 15 additions & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,21 @@
version: 3

includes:
build: ./scripts/tasks/Taskfile_{{OS}}.yml
build:
taskfile: ./scripts/tasks/Taskfile_{{OS}}.yml
optional: true

# Default vars for Linux/Mac/Unix
vars:
GOALC_BIN_RELEASE_DIR: './build/goalc'
GK_BIN_RELEASE_DIR: './build/game'
DECOMP_BIN_RELEASE_DIR: './build/decompiler'
MEMDUMP_BIN_RELEASE_DIR: './build/tools'
TYPESEARCH_BIN_RELEASE_DIR: './build/tools'
OFFLINETEST_BIN_RELEASE_DIR: './build'
GOALCTEST_BIN_RELEASE_DIR: './build'
FORMATTER_BIN_RELEASE_DIR: './build/tools'
EXE_FILE_EXTENSION: ''

dotenv:
- ./scripts/tasks/.env
Expand Down
9 changes: 0 additions & 9 deletions scripts/tasks/Taskfile_darwin.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
version: 3

vars:
GOALC_BIN_RELEASE_DIR: './build/goalc'
GK_BIN_RELEASE_DIR: './build/game'
DECOMP_BIN_RELEASE_DIR: './build/decompiler'
MEMDUMP_BIN_RELEASE_DIR: './build/tools'
TYPESEARCH_BIN_RELEASE_DIR: './build/tools'
OFFLINETEST_BIN_RELEASE_DIR: './build'
GOALCTEST_BIN_RELEASE_DIR: './build'
FORMATTER_BIN_RELEASE_DIR: './build/tools'
EXE_FILE_EXTENSION: ''
9 changes: 0 additions & 9 deletions scripts/tasks/Taskfile_linux.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
version: 3

vars:
GOALC_BIN_RELEASE_DIR: './build/goalc'
GK_BIN_RELEASE_DIR: './build/game'
DECOMP_BIN_RELEASE_DIR: './build/decompiler'
MEMDUMP_BIN_RELEASE_DIR: './build/tools'
TYPESEARCH_BIN_RELEASE_DIR: './build/tools'
OFFLINETEST_BIN_RELEASE_DIR: './build'
GOALCTEST_BIN_RELEASE_DIR: './build'
FORMATTER_BIN_RELEASE_DIR: './build/tools'
EXE_FILE_EXTENSION: ''

0 comments on commit 937d181

Please sign in to comment.