aboutsummaryrefslogtreecommitdiffhomepage
path: root/site
Commit message (Collapse)AuthorAge
* Add a new test environment variable, TEST_TARGET.Gravatar John Cater2018-04-06
| | | | | | | | | | | | | | | | | | | | Also include the test target in the test log for easier debugging of tests. Fixes #4960. Change-Id: Ic79bf21e8eeba765b607755c1d290ee4e910d01f Closes #4972. Sample output: ``` exec ${PAGER:-/usr/bin/less} "$0" || exit 1 Executing tests from //src/test/shell/bazel:bazel_example_test ----------------------------------------------------------------------------- ``` Change-Id: I433cd9251a564b269da5566bb8401151ae4c99b7 PiperOrigin-RevId: 191891278
* Fix the definition of Argument in the Skylark specificationGravatar vladmos2018-04-05
| | | | PiperOrigin-RevId: 191717115
* Removed the statement of "What does Bazel support?" as it's ↵Gravatar Googler2018-03-28
| | | | | | | limiting/misleading. Added supported host OSes to "multi-platform" paragraph. RELNOTES: Removed the statement of "What does Bazel support?" as it's limiting/misleading. Added supported host OSes to "multi-platform" paragraph. PiperOrigin-RevId: 190793121
* Update version references of rules_apple in Bazel.Gravatar kaipi2018-03-28
| | | | | | minus some minor specific features. PiperOrigin-RevId: 190784717
* documentation for cquery --output=transitionsGravatar juliexxia2018-03-27
| | | | PiperOrigin-RevId: 190673642
* Fix incorrect int() exampleGravatar brandjon2018-03-26
| | | | | | | Also add tests for leading "+" in int(<string>) form. RELNOTES: None PiperOrigin-RevId: 190507678
* Fix typo in linkGravatar brandjon2018-03-26
| | | | | RELNOTES: None PiperOrigin-RevId: 190470599
* Fix very minor issue in the documentation of the grammatical spec of ↵Gravatar nharmata2018-03-23
| | | | | | | | | 'rbuildfiles': this query function takes a comma-separated list of strings, which it interprets as paths. Also fix an issue with the documented semantics of 'rbuildfiles': it only returns BUILD file targets, not bzl file targets. RELNOTES: None PiperOrigin-RevId: 190257359
* fix typo in blaze user manual.Gravatar juliexxia2018-03-23
| | | | PiperOrigin-RevId: 190256860
* Remove the --incompatible_disallow_uncalled_set_constructor flagGravatar vladmos2018-03-22
| | | | | | | | RELNOTES[INC]: The --incompatible_disallow_uncalled_set_constructor flag is no longer available, the `set` constructor` is completely removed from Skylark. Use `depset` instead. PiperOrigin-RevId: 190053331
* Remove the flag --incompatible_show_all_print_messagesGravatar vladmos2018-03-22
| | | | | | | | RELNOTES[INC]: The flag --incompatible_show_all_print_messages is removed. Messages generated by `print` statements from any package will be displayed as DEBUG messages. PiperOrigin-RevId: 190043451
* Windows doc: Update docs about building Java and Python on WindowsGravatar Yun Peng2018-03-22
| | | | | | | | | | Now we are using the native launcher to run binary for Java and Python, so the outputs of these targets have changed. Closes #4898. Change-Id: Id2ea33d7c02b5608215b5cd4173ed917df0cb217 PiperOrigin-RevId: 190037369
* Clarify migration instructions for providersGravatar brandjon2018-03-21
| | | | | | | | | This makes legacy providers a subsection so it can be referenced from linter error messages. It also adds some prose explaining the exact correspondence between legacy provider field keys and modern providers. RELNOTES: None PiperOrigin-RevId: 189980562
* Remove no longer available cmd optionGravatar Passw2018-03-21
| | | | | | | | | | ``` ERROR: Query expressions involving 'buildfiles' or 'loadfiles' cannot be used with --output=location ``` Closes #4835. PiperOrigin-RevId: 189888124
* Remove features that actually don't exist from the specGravatar laurentlb2018-03-19
| | | | | | | | | | - Changes in the int() function. - Changes in the string interpolation operator. Fixes #4862 RELNOTES: None. PiperOrigin-RevId: 189626007
* Fix error in documentation.Gravatar nharmata2018-03-19
| | | | | RELNOTES: None PiperOrigin-RevId: 189617545
* Rename a few pagesGravatar brandjon2018-03-19
| | | | | | | | | Prefer "Extension" over "Skylark" when referring specifically to Bazel's use of Skylark. Follow-up to https://github.com/bazelbuild/bazel/commit/3ef60b7cdcf8826102ec42a77183645ab0cafcf7. RELNOTES: None PiperOrigin-RevId: 189602396
* Split off troubleshooting section into a FAQ pageGravatar brandjon2018-03-18
| | | | | | | | | Rewrite/add to the contents of this section. Also updated the page titles / navbar entries of Skylark documentation to make them more uniform (title case, avoid redundancy). RELNOTES: None PiperOrigin-RevId: 189503729
* Add cquery to Blaze manual's list of commandsGravatar juliexxia2018-03-15
| | | | PiperOrigin-RevId: 189201051
* Add documentation about cquery to bazel!Gravatar juliexxia2018-03-15
| | | | PiperOrigin-RevId: 189196060
* Remove the table of contents from the Android and Bazel page. I clicked on ↵Gravatar jingwen2018-03-14
| | | | | | | the link, expecting to be redirected to a new page, but it's just an anchor link on the same page. The page is short enough to not need a ToC. RELNOTES: None. PiperOrigin-RevId: 189042068
* Remove support for blaze dump --vfs.Gravatar tomlu2018-03-12
| | | | | | | It is no longer meaningful since the vfs doesn't have an internal path tree to dump. RELNOTES: Remove support for blaze dump --vfs. It is no longer meaningful. PiperOrigin-RevId: 188739379
* Recommend against writing "boolattr = 1" in style guideGravatar brandjon2018-03-12
| | | | | RELNOTES: None PiperOrigin-RevId: 188730878
* Fix table of contents on query site.Gravatar dannark2018-03-12
| | | | | RELNOTES: None. PiperOrigin-RevId: 188711261
* Fix broken links and formattingGravatar brandjon2018-03-10
| | | | | RELNOTES: None PiperOrigin-RevId: 188625855
* Update links to examplesGravatar brandjon2018-03-10
| | | | | | | See changes in https://github.com/bazelbuild/examples/pull/56 RELNOTES: None PiperOrigin-RevId: 188601311
* Added asteinb's Android Builds blogpost to the Android and Bazel pageGravatar Jingwen Chen2018-03-09
| | | | | | Closes #4693. PiperOrigin-RevId: 188488139
* Update cpp-use-cases.mdGravatar aolivas2018-03-09
| | | | | | | | | | | | | I wasn't able to build a simple 'hello-world' example with an identical structure. I encountered several problems: 1) bazel forces to declare a license for code within the 'third_party' sub-directory. This not at all obvious to noobs. 2) bazel complains about a missing input file 'some_lib.h' without the leading 'include' in hdrs and the build fails. 3) compilation throws "No such file or directory" when trying to include 'some_lib.h' with the trailing 'include' in copts. I think this is particularly important for converting legacy projects (not necessarily third party) that use cmake, autoconf, etc... Closes #4697. PiperOrigin-RevId: 188471650
* Add missing "dump" command link from Bazel user manual.Gravatar gregce2018-03-08
| | | | PiperOrigin-RevId: 188362796
* Fixed left alignment in docGravatar Anders Sundman (asum)2018-03-07
| | | | | | Closes #4689. PiperOrigin-RevId: 188169719
* Replace instances of XCode with Xcode which is the proper casing for the name.Gravatar Sergio Campama2018-03-06
| | | | | | Closes #4640. PiperOrigin-RevId: 188022228
* Fix query page table of contents.Gravatar dannark2018-03-06
| | | | | RELNOTES: None PiperOrigin-RevId: 188019651
* Fixed broken links to user manual in docsGravatar Jingwen Chen2018-03-05
| | | | | | | | The user manual filename has been renamed from `bazel-user-manual.html` to `user-manual.html`. Closes #4662. PiperOrigin-RevId: 187877241
* Recommend to use the Visual C++ Build Tools 2015.Gravatar Philipp Wollermann2018-03-05
| | | | | | Closes #4743. PiperOrigin-RevId: 187869648
* Document the VC++ redistributable dependencyGravatar John Maguire2018-03-05
| | | | | | | | Fixes #4740 Closes #4768. PiperOrigin-RevId: 187868625
* cc_library for ext build rule example to fit '.so'Gravatar David Newgas2018-03-05
| | | | | | | | The example for Depending on non-Bazel projects describes depending on a .so file. java_library builds .jar files, so is inconsistent.This PR switches the example to use cc_library, which actually builds a .so file so matches the description. Closes #4745. PiperOrigin-RevId: 187839898
* Add documentation for the action graph dump command.Gravatar twerth2018-03-05
| | | | | RELNOTES: None PiperOrigin-RevId: 187834884
* docs,windows: update bootstrap & install docsGravatar Laszlo Csomor2018-03-05
| | | | | | | | | | Update the documentation about: - compiling Bazel from source (without an existing Bazel binary) on Windows - OS and software requirements on Windows Closes #4741. PiperOrigin-RevId: 187829532
* Revamp docs for ctx.outputsGravatar brandjon2018-03-02
| | | | | | | Explain the deprecation of ctx.outputs.executable. RELNOTES: None PiperOrigin-RevId: 187640408
* Revamp discussion of executable/test rulesGravatar brandjon2018-03-02
| | | | | | | Rewrite that part of rules.md and update rule() docs. Also clarify the Action object's docs to put it in context. RELNOTES: None PiperOrigin-RevId: 187636896
* Fixes nit by removing accidently-repeated words.Gravatar Googler2018-03-01
| | | | | RELNOTES: None. PiperOrigin-RevId: 187489449
* Fix broken linksGravatar Googler2018-03-01
| | | | | | | The links were to different sections in the page, but were not prefixed with hashtags. RELNOTES: Fix broken links in query docs. PiperOrigin-RevId: 187486286
* Update iOS tutorial to reference latest releaseGravatar Sergio Campama2018-03-01
| | | | | | Closes #4712. PiperOrigin-RevId: 187486082
* Remove --incompatible_load_argument_is_label flagGravatar laurentlb2018-03-01
| | | | | | RELNOTES: Removed flag `--incompatible_load_argument_is_label`. PiperOrigin-RevId: 187479614
* Revamp docs for default outputs / output groupsGravatar brandjon2018-02-26
| | | | | | | | | | | - collapsed these into one section - removed the term "implicit outputs" - add explanation for what these are first, then how to control them - update docs for DefaultInfo - also update docs for test/executable args of rule() RELNOTES: None PiperOrigin-RevId: 187026641
* Revamp rules.md documentation for filesGravatar brandjon2018-02-26
| | | | | | | Unified "Files" and "Output files" sections. Renamed "declared files" to "predeclared files" to avoid confusion with "declare_file()"/"declare_directory()". RELNOTES: None PiperOrigin-RevId: 187017607
* Replace "else if" with "elif" (Issue 4637)Gravatar Serge2018-02-23
| | | | | | | | Addresses issue [4637](https://github.com/bazelbuild/bazel/issues/4637) by replacing "else if" with "elif". Closes #4692. PiperOrigin-RevId: 186800016
* Update site menuGravatar laurentlb2018-02-23
| | | | | | | In particular, use folding menus for Installing and Tutorials. RELNOTES: None. PiperOrigin-RevId: 186778997
* Recommend True and False for boolean attributes.Gravatar laurentlb2018-02-21
| | | | | RELNOTES: None. PiperOrigin-RevId: 186501019
* Set default of --incompatible_disable_glob_tracking to trueGravatar laurentlb2018-02-21
| | | | | RELNOTES: None. PiperOrigin-RevId: 186470386