From 6b3b8d0ba073100bf9858fb65c2cc99dcd4d792e Mon Sep 17 00:00:00 2001 From: Damien Martin-Guillerez Date: Thu, 23 Feb 2017 13:05:48 +0000 Subject: Fix name of --javacopt in the configuration file blog post -- Change-Id: I95f9c9605d04b2142a2b295618301337fc7b3b79 Reviewed-on: https://cr.bazel.build/9058 PiperOrigin-RevId: 148332784 MOS_MIGRATED_REVID=148332784 --- site/blog/_posts/2015-07-01-Configuration-File.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'site/blog') diff --git a/site/blog/_posts/2015-07-01-Configuration-File.md b/site/blog/_posts/2015-07-01-Configuration-File.md index b969141021..93b4fc86c1 100644 --- a/site/blog/_posts/2015-07-01-Configuration-File.md +++ b/site/blog/_posts/2015-07-01-Configuration-File.md @@ -8,13 +8,13 @@ that doesn't scale when you share your workspace with others. For instance, you could de-activate [Error Prone](http://errorprone.info)'s [DepAnn](http://errorprone.info/bugpattern/DepAnn) checks by adding the -`--javacopts="-Xep:DepAnn:OFF"` flag in your `~/.bazelrc`. However, `~/.bazelrc` +`--javacopt="-Xep:DepAnn:OFF"` flag in your `~/.bazelrc`. However, `~/.bazelrc` is not really convenient as it a user file, not shared with your team. You could instead add a rc file at `tools/bazel.rc` in your workspace with the content of the bazelrc file you want to share with your team: ``` -build --javacopts="-Xep:DepAnn:OFF" +build --javacopt="-Xep:DepAnn:OFF" ``` This file, called a master rc file, is parsed before the user rc file. There is -- cgit v1.2.3