Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Taskfile: Call 'python3' on non-Windows platforms #3752

Merged
merged 4 commits into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Taskfile: Put Linux/Mac/Unix vars in main Taskfile, and only override…
… on Windows
  • Loading branch information
mrpippy committed Nov 20, 2024
commit 937d18188c6afbcf624a66abd08b9761280d8911
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: ''