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.

貢獻者指南