aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/docs
Commit message (Collapse)AuthorAge
* Remove the --cwarn command line option.Gravatar Lukacs Berki2016-05-25
| | | | | | | RELNOTES[INC]: The --cwarn command line option is not supported anymore. Use --copt instead. -- MOS_MIGRATED_REVID=123101536
* Fix typo in skylark cookbookGravatar Googler2016-05-24
| | | | | -- MOS_MIGRATED_REVID=123071294
* Docs demonstrating a macro combining Skylark and native rules.Gravatar Googler2016-05-24
| | | | | -- MOS_MIGRATED_REVID=123016395
* Make RegexFilterExpression publicGravatar Chris Parsons2016-05-11
| | | | | -- MOS_MIGRATED_REVID=121982887
* Add documentation on how to Bazel querying for a macroGravatar Andrew Allen2016-04-26
| | | | | | | | | | | This change also creates a "example queries" section. The "example queries" section is a palce where sample queries that are commonly used can be placed. -- Change-Id: If68d54c5c6de61930ff5f5c75746343400c89bc0 Reviewed-on: https://bazel-review.googlesource.com/#/c/3161/3 MOS_MIGRATED_REVID=120808217
* Fix docs on test environment and add a testGravatar Kristina Chodorow2016-04-25
| | | | | | | Fixes #1126. -- MOS_MIGRATED_REVID=120707955
* Update skylark docs to use build labels consistently for skylark loadsGravatar Googler2016-04-21
| | | | | -- MOS_MIGRATED_REVID=120339643
* Deprecate top-level Java toolchain flags in favour of java_toolchainGravatar Liam Miller-Cushon2016-04-19
| | | | | | | | | | | | | This change disables --java_langtools, --javabuilder_top, --singlejar_top, --genclass_top, and --ijar_top, and finishes replacing them with java_toolchain.{javac,javabuilder,singlejar,genclass,ijar}. RELNOTES: Replace --java_langtools, --javabuilder_top, --singlejar_top, --genclass_top, and --ijar_top with java_toolchain.{javac,javabuilder,singlejar,genclass,ijar} -- MOS_MIGRATED_REVID=120154954
* Fix mismatch between docs and backend/BUILD in master in examples/tutorial.Gravatar Eric Paniagua2016-04-18
| | | | | | | | The tutorial is broken when using the original BUILD source copied from the docs, and this change fixes it. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/1137 MOS_MIGRATED_REVID=120102063
* Fix bug introduced by commit dc0fbb42ab22ab8f3205b0884069e1ffe03677c9 where ↵Gravatar Nathan Harmata2016-04-07
| | | | | | | | | | | | | a less specific option specification in a rc file could override a more specific option specification when there's a non-trivial Command hierarchy. A concrete example would be a "build --foo=1" line overriding a "test --foo=2" line for a "test" invocation. See the added test for more details. Also fix some typos in BlazeCommandDispatcherRcoptionsTest.java. Note that commit dc0fbb42ab22ab8f3205b0884069e1ffe03677c9 was rolled back in commit 417dad0f1e0d0ed4ccd5f8e52b49eb79937da49d which also incidentally rolled back commit 4f0fbe1b09333806cce76b75214e98c7684766e0. So this change is effectively a roll-forward of both of those, plus the bug fix, plus the typo fixes, and plus a documentation update. -- MOS_MIGRATED_REVID=119276218
* Add some documentation about --output=build.Gravatar Googler2016-04-07
| | | | | -- MOS_MIGRATED_REVID=119087054
* in the query docs, correctly refer to the --output option not --orderGravatar Benjamin Peterson2016-03-30
| | | | | | | -- Change-Id: I7830558b688fb648d6f931bf79e82b9ee65bb18c Reviewed-on: https://bazel-review.googlesource.com/c/3160/ MOS_MIGRATED_REVID=118472905
* Adds Skylark Remote Repository documentationGravatar Damien Martin-Guillerez2016-03-24
| | | | | | | Fixes #1043 -- MOS_MIGRATED_REVID=118039426
* docs: update the output for the --subcommands optionGravatar Thiago Farina2016-03-24
| | | | | | | | | | Specially because base_workspace is not involved anymore since the 0.2.0 release. -- Change-Id: I70143a57202f6d487f7ab828da61f0ea127694e8 Reviewed-on: https://bazel-review.googlesource.com/c/3130/ MOS_MIGRATED_REVID=118036928
* Remove deprecated Skylark rulesGravatar Kristina Chodorow2016-03-24
| | | | | -- MOS_MIGRATED_REVID=117968196
* docs: add missing '-p' flag to mkdir command in the exampleGravatar Thiago Farina2016-03-21
| | | | | | | | | | | | | | | | | | When passing a path that has some parent directories to mkdir command you also need to pass '-p' flag to tell it to make the parent directories as needed. Otherwise you will get an error like this: mkdir: cannot create directory `src/main/java/com/example/cmdline': No such file or directory This patch fixes this documentation as it was suggested at https://groups.google.com/d/msgid/bazel-discuss/e3d20e6e-9b6f-410f-b80c-67afa9ebc9f9%40googlegroups.com?utm_medium=email&utm_source=footer -- Change-Id: I3075ac66bb7cf42f97139246471e2120838da1e6 Reviewed-on: https://bazel-review.googlesource.com/#/c/3102/ MOS_MIGRATED_REVID=117708676
* Fix a small typo.Gravatar Googler2016-03-15
| | | | | -- MOS_MIGRATED_REVID=117130300
* Expose runfiles symlink functionality in SkylarkGravatar Googler2016-03-11
| | | | | | | | | | | | | | | | | | | | | The Skylark rule context object has a runfiles method. This adds two optional parameters to that method, "symlinks" and "root_symlinks", that expose functionality from the underlying Runfiles java class. With this functionality, one can construct links in the runfiles tree where the source and destination of the link have different names and/or relative directories. This might be useful for things like AppEngine rules where a file in a subdirectory of the source tree needs to appear in the root directory of the runfiles tree. If either new parameter is used, the runfiles is subject to stricter validity checking. This checking propagates to other runfiles that depend on it. RELNOTES: Added "root_symlinks" and "symlinks" parameters to Skylark runfiles() method. -- MOS_MIGRATED_REVID=116879064
* Upgrade Apache Commons Collections to v3.2.2Gravatar Googler2016-03-04
| | | | | | | | | | | | | | Version 3.2.1 has a CVSS 10.0 vulnerability. That's the worst kind of vulnerability that exists. By merely existing on the classpath, this library causes the Java serialization parser for the entire JVM process to go from being a state machine to a turing machine. A turing machine with an exec() function! https://commons.apache.org/proper/commons-collections/security-reports.html http://foxglovesecurity.com/2015/11/06/what-do-weblogic-websphere-jboss-jenkins-opennms-and-your-application-have-in-common-this-vulnerability/ -- MOS_MIGRATED_REVID=116309858
* Fix user manual formattingGravatar Kristina Chodorow2016-03-03
| | | | | | | Fixes #995. -- MOS_MIGRATED_REVID=116247058
* Clean up attribute documentation hoping to make it clearer. Specifically ↵Gravatar Dave MacLachlan2016-03-02
| | | | | | | | | that labels and label_lists are actually of type Target, and adding more cross linking to various documentation to make it easier to peruse. Tested all of the links to make sure they work. -- MOS_MIGRATED_REVID=116076080
* Add some cross referencing to the cookbook and standardize header style for ↵Gravatar Dave MacLachlan2016-03-01
| | | | | | | markdown. -- MOS_MIGRATED_REVID=116007304
* Global cleanup change.Gravatar Googler2016-02-28
| | | | | -- MOS_MIGRATED_REVID=115695111
* Fix load() examples to use build targets instead of file paths.Gravatar Googler2016-02-25
| | | | | -- MOS_MIGRATED_REVID=115492703
* Add zlib-devel to the set of pacman packages we ask people to install on ↵Gravatar Lukacs Berki2016-02-24
| | | | | | | | | Windows. Also make windows.md a bit nicer in general. -- MOS_MIGRATED_REVID=115449272
* Update external dependencies documentation to mention the --artifact ↵Gravatar Alex Humesky2016-02-23
| | | | | | | argument to generate_workspace. -- MOS_MIGRATED_REVID=115367724
* Looks to me like the example was slightly broken, I think this fixes it.Gravatar Googler2016-02-23
| | | | | -- MOS_MIGRATED_REVID=115346303
* blaze user manual: remove a clause about --blazerc that is not true.Gravatar Googler2016-02-23
| | | | | -- MOS_MIGRATED_REVID=115320148
* Doc update for Skylark syntax, mention 'is' is not supportedGravatar Laurent Le Brun2016-02-22
| | | | | -- MOS_MIGRATED_REVID=115209664
* Add documentation on how to build for an iOS device, use a provisioning ↵Gravatar Dave MacLachlan2016-02-22
| | | | | | | profile, and install an app on a device. -- MOS_MIGRATED_REVID=115175241
* Add link to Windows instructions to sidebar and Install page.Gravatar David Chen2016-02-22
| | | | | | | Also, minor tweaks to search box on mobile. -- MOS_MIGRATED_REVID=115164906
* Fix a typo in windows.mdGravatar Michael Zhou2016-02-22
| | | | | | | | | Also add syntax highlighting to the bash commands. -- Change-Id: I327593afdfb048e4a348738ea2c9902ab48f0431 Reviewed-on: https://bazel-review.googlesource.com/#/c/2980/ MOS_MIGRATED_REVID=115104422
* Add missing instructions to Windows build docsGravatar Solal Pirelli2016-02-22
| | | | | | | | | | The zip and unzip packages are required, but not installed by default on msys2. ~~Since compilation creates hard links, it needs admin privileges.~~ -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/941 MOS_MIGRATED_REVID=115071091
* Update windows.md with instructions to bootstrap Bazel.Gravatar Dmitry Lomov2016-02-19
| | | | | | | | | Fixes #276. RELNOTES: Experimental Windows support is available. -- MOS_MIGRATED_REVID=115052789
* Minor style fixes.Gravatar Googler2016-02-19
| | | | | -- MOS_MIGRATED_REVID=115033052
* Add allow_files to cookbook example for using a binary.Gravatar Eric Dobson2016-02-17
| | | | | | | | The example implies that this works for an existing binary, but if the rule is a file then it doesn't work. This changes it so that users will know that the allow_files option exists and they likely want it in this case. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/892 MOS_MIGRATED_REVID=114849501
* Tutorial: change load statement to use the new syntax.Gravatar Damien Martin-Guillerez2016-02-15
| | | | | | | This the tutorial part of change for https://github.com/bazelbuild/examples/issues/10. -- MOS_MIGRATED_REVID=114677244
* Update Skylark homepageGravatar Laurent Le Brun2016-02-11
| | | | | -- MOS_MIGRATED_REVID=114428005
* Fix invalid language for fenced code block.Gravatar David Chen2016-02-11
| | | | | -- MOS_MIGRATED_REVID=114372166
* Rollback of commit eb01c21f94fbd6119c2f73796f63f789fd765910.Gravatar David Chen2016-02-11
| | | | | | | | | | | | | | | | *** Reason for rollback *** This change broke internal docs and is no longer needed because the documentation pipeline will automatically take care of converting these to .html for the external site. *** Original change description *** Fix links in http://bazel.io/docs/skylark/ -- MOS_MIGRATED_REVID=114364411
* Add instrumented file provider support to Skylark rules.Gravatar Googler2016-02-10
| | | | | | | RELNOTES: Add instrumented file provider support to Skylark rules. -- MOS_MIGRATED_REVID=114255963
* Updates the bazel appengine tutorial docs to match the updates to the ↵Gravatar Alex Humesky2016-02-04
| | | | | | | workspace file in the repo. -- MOS_MIGRATED_REVID=113822978
* Rollback of commit 14cf67863d56bab1eef11687a881adf323ba55ad.Gravatar Kristina Chodorow2016-01-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Issue that caused the rollback (#819) is resolved *** Original change description *** Automated [] rollback of []. *** Reason for rollback *** Prerequisite for rolling back j2objc base workspace change *** Original change description *** Remove base_workspace from bazel setup I also removed a couple places the documentation referred to it incorrectly. There are still a couple of blog posts that mention it, but that seemed okay. RELNOTES: A bazelrc with --package_path set is no longer required for Bazel to find its tools. This also means that building //...... -- MOS_MIGRATED_REVID=113259357
* Rename native.rule and native.rules to {existing_rule,existing_rules}Gravatar Han-Wen Nienhuys2016-01-28
| | | | | | | | | | | | This is to avoid confusion between rule(), which declares a new build rules, and native.rule(), which can only be used in macros to inspect the BUILD file processed so far. native.{rule,rules} is maintained and marked deprecated to smooth the transition for early adopters. -- MOS_MIGRATED_REVID=113250194
* Rollback of commit e87849b8d391af8f5d98e3a91e680e88a1264b64.Gravatar Kristina Chodorow2016-01-28
| | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Prerequisite for rolling back j2objc base workspace change *** Original change description *** Remove base_workspace from bazel setup I also removed a couple places the documentation referred to it incorrectly. There are still a couple of blog posts that mention it, but that seemed okay. RELNOTES: A bazelrc with --package_path set is no longer required for Bazel to find its tools. This also means that building //... should work to build everything in the workspace without including Bazel's own targets. -- MOS_MIGRATED_REVID=113164089
* Fix Skylark documentation linksGravatar Kristina Chodorow2016-01-26
| | | | | | | I thought Jekyll would translate these, but apparently not? -- MOS_MIGRATED_REVID=112977415
* Suggest using release tag when running generate_workspaceGravatar Dan Fabulich2016-01-26
| | | | | | | | Apropos issue #776. This hint in the doc would have saved me from filing a bogus bug. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/778 MOS_MIGRATED_REVID=112972220
* Fix links in http://bazel.io/docs/skylark/Gravatar Damien Martin-Guillerez2016-01-22
| | | | | -- MOS_MIGRATED_REVID=112766331
* Remove base_workspace from bazel setupGravatar Kristina Chodorow2016-01-21
| | | | | | | | | | | | I also removed a couple places the documentation referred to it incorrectly. There are still a couple of blog posts that mention it, but that seemed okay. RELNOTES: A bazelrc with --package_path set is no longer required for Bazel to find its tools. This also means that building //... should work to build everything in the workspace without including Bazel's own targets. -- MOS_MIGRATED_REVID=112604261
* Fix double </a> in header.Gravatar Han-Wen Nienhuys2016-01-21
| | | | | -- MOS_MIGRATED_REVID=112598805