Skip to content

feat(builtin): add env attribute to nodejs test and binary and run_node helper#2499

Merged
mattem merged 1 commit into
bazel-contrib:stablefrom
mattem:feat/env_attr
Mar 5, 2021
Merged

feat(builtin): add env attribute to nodejs test and binary and run_node helper#2499
mattem merged 1 commit into
bazel-contrib:stablefrom
mattem:feat/env_attr

Conversation

@mattem

@mattem mattem commented Mar 4, 2021

Copy link
Copy Markdown
Collaborator

Adds an env property in the form a string keyed dict to nodejs_binary, nodejs_test and anything that uses the run_node helper (eg npm_package_bin).

closes #2497

@google-cla google-cla Bot added the cla: yes label Mar 4, 2021
@mattem
mattem force-pushed the feat/env_attr branch 2 times, most recently from 392dbb4 to ab7937a Compare March 4, 2021 14:19
@mattem

mattem commented Mar 5, 2021

Copy link
Copy Markdown
Collaborator Author

This is failing on flaky windows tests 😞

@alexeagle alexeagle left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

wow how did we never add this? I keep being disappointed that it's not there :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add env option for environment variables to rules

2 participants