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

*Tools should support dependencies on env vars #572

Closed
sixtyfourktec opened this issue Jul 3, 2024 · 0 comments
Closed

*Tools should support dependencies on env vars #572

sixtyfourktec opened this issue Jul 3, 2024 · 0 comments

Comments

@sixtyfourktec
Copy link

Right now it isn't possible to depend on Tools only if some environment var is set. So being able to do something like this would be nice:

checkoutTools: 
    - if: "${TEST_VAR:-}"
      name: graphics::package
jkloetzke added a commit to jkloetzke/bob that referenced this issue Jul 12, 2024
Sometimes a recipe might only require a tool if certain conditions are
met. So far, tools could only be used unconditionally. This adds a new
syntax along the following lines:

  checkoutTools:
      - if: "${TEST_VAR:-}"
        name: graphics::package

Fixes BobBuildTool#572.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant