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

feat: add TASK_OFFLINE env and expose it as a special variable #1716

Merged
merged 5 commits into from
Sep 21, 2024

Conversation

vmaerten
Copy link
Member

@vmaerten vmaerten commented Jul 8, 2024

Two things in this PR (very correlated) :

@vmaerten vmaerten marked this pull request as ready for review July 8, 2024 21:08
Copy link
Member

@pd93 pd93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me! Just one minor requested change. In the future, I think it would be good to add more overridable env vars.

internal/flags/flags.go Outdated Show resolved Hide resolved
Co-authored-by: Pete Davison <pd93.uk@outlook.com>
@vmaerten
Copy link
Member Author

In the future, I think it would be good to add more overridable env vars.

I agree. I think, I'll take some times to draft a PR to add more override like this

@vmaerten vmaerten requested a review from pd93 September 20, 2024 14:05
taskfile/ast/task.go Outdated Show resolved Hide resolved
internal/fingerprint/sources_checksum.go Outdated Show resolved Hide resolved
Copy link
Member

@pd93 pd93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one, thanks!

@vmaerten vmaerten merged commit ddccd1b into go-task:main Sep 21, 2024
14 checks passed
@vmaerten vmaerten deleted the feat/add-offline-env branch September 21, 2024 15:17
vmaerten added a commit that referenced this pull request Sep 21, 2024
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.

Feature Request: provide a bool variable to tasks that represents if the —offline flag is used
2 participants