bazelbuild/bazel

Allow env file with "bazel test"

Open

#955 创建于 2016年2月22日

在 GitHub 查看
 (18 评论) (26 反应) (0 负责人)Java (4,465 fork)batch import
P3help wantednot staleteam-Coretype: feature request

仓库指标

Star
 (25,384 star)
PR 合并指标
 (平均合并 22天 20小时) (30 天内合并 77 个 PR)

描述

Currently, you can pass environment variables one at a time with --test_env. It would be nice to be able to pass an entire file of env variables to bazel test with something like:

bazel test --test_env_file=.env //...

env are becoming semi-standard, and lots of tools understand how to read them. For example:

This improvement would allow people to use their existing env files with bazel.

贡献者指南