bzl
bzl copied to clipboard
{WORKSPACE_ROOT}/.bzlrc location is not being honored
creating .bzlrc in my workspace root has no effect on bzl:
$ cat .bzlrc
common --base_dir=/tmp/bzl
serve --http_port=9999
$ bzl serve
time="2020-05-27T17:53:03-07:00" level=info msg="Ready http://127.0.0.1:8080"
note that port 8080 is still used above, now if I move the .bzlrc file to my home dir everything works:
$ mv .bzlrc ~/
$ bzl serve
time="2020-05-27T17:53:56-07:00" level=info msg="Ready http://127.0.0.1:9999"
According to https://build.bzl.io/bzl/docs/configuration-files the first scenario should have worked.