Skip to content

Use .TASKFILE_DIR for task directories#663

Merged
cdecker merged 1 commit intoBlockstream:mainfrom
ShahanaFarooqui:fix-sdk-tasks-dir
Feb 12, 2026
Merged

Use .TASKFILE_DIR for task directories#663
cdecker merged 1 commit intoBlockstream:mainfrom
ShahanaFarooqui:fix-sdk-tasks-dir

Conversation

@ShahanaFarooqui
Copy link
Collaborator

Replace relative paths like '../..' in task dir: definitions with the built-in .TASKFILE_DIR variable. This ensures tasks run consistently regardless of the current working directory.

Fixes task sdk:test command to run gl-sdk python tests.

Replace relative paths like '../..' in task `dir:` definitions
with the built-in `.TASKFILE_DIR` variable. This ensures tasks run
consistently regardless of the current working directory.

Fixes `task sdk:test` command to run gl-sdk python tests.
@cdecker
Copy link
Collaborator

cdecker commented Feb 12, 2026

Excellent catch, I was looking for something like this, and resolved to just running from the root directory all the time, this makes it more flexible 🙏

@cdecker cdecker merged commit 97ae772 into Blockstream:main Feb 12, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants