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

feature: Adds support for RUNFILE env variable #40

Merged
merged 4 commits into from
Oct 10, 2021
Merged

Conversation

TekWizely
Copy link
Owner

@TekWizely TekWizely commented Oct 8, 2021

Per discussion on #39 this PR adds support for $RUNFILE variable pointing to a runfile.

Behaves like run -r "${RUNFILE:-Runfile}"

As with previous logic, can be overridden with explicit -r|--runfile

TBD:

  • Show how it helps reduce verbosity when running tasks from other tasks
  • Show how direnv can be used to auto-set the RUNFILE variable when you cd into a folder containing a runfile

cc: @rburchell

@TekWizely TekWizely merged commit 2103776 into master Oct 10, 2021
@TekWizely TekWizely deleted the runfile_env branch October 10, 2021 23:54
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.

None yet

1 participant