aboutsummaryrefslogtreecommitdiffhomepage
path: root/site
Commit message (Collapse)AuthorAge
...
* Add instructions to view graph locally via xdotGravatar Gabriel Staples2018-04-30
| | | | | | | | No one with sensitive data wants to get in the habit of pasting output into web pages online. This is very helpful to those who'd like to generate and view the graphs locally. Closes #4964. PiperOrigin-RevId: 194785337
* Fix broken link.Gravatar Googler2018-04-30
| | | | | | | "Sky query" is a section in this page, not a separate page. RELNOTES: none PiperOrigin-RevId: 194783815
* Delete query how-to goowiki and migrate external query how-to page to html ↵Gravatar juliexxia2018-04-25
| | | | | | so it can be shared internally as well. PiperOrigin-RevId: 194253979
* Update the documentation in the wake of ↵Gravatar lberki2018-04-25
| | | | | | | https://github.com/bazelbuild/bazel/commit/e52c8418d37e902237c6676d06fcb4cad7fc4766. RELNOTES: None. PiperOrigin-RevId: 194240434
* Fix formatting of JDK note.Gravatar spomorski2018-04-24
| | | | | RELNOTES: None. PiperOrigin-RevId: 194084231
* Externalize testing guidance for Skylark codeGravatar brandjon2018-04-23
| | | | | | | Mainly this is about using unittest.bzl to test rules or helper functions. RELNOTES: PiperOrigin-RevId: 193973496
* Update backward-compatibility.md with missing flag docsGravatar brandjon2018-04-20
| | | | | RELNOTES: None PiperOrigin-RevId: 193677877
* Make some links absoluteGravatar brandjon2018-04-19
| | | | | | | | | This was breaking an internal version of the documentation, though the public version worked correctly. Now it works both ways. Also link directly to flag instead of section. RELNOTES: None PiperOrigin-RevId: 193554278
* Update Ubuntu install instructions as per PR 5024.Gravatar spomorski2018-04-18
| | | | | | https://github.com/spomorski/bazel/edit/patch-1/site/docs/install-ubuntu.md?pr=/bazelbuild/bazel/pull/5024 PiperOrigin-RevId: 193379306
* Update macOS Install InstructionsGravatar Serge2018-04-18
| | | | | | | | Updating macOS install instructions together with David. Closes #5025. PiperOrigin-RevId: 193374002
* Fix anchors for docstring sectionGravatar brandjon2018-04-18
| | | | | RELNOTES: None PiperOrigin-RevId: 193354556
* Clarify 1st arg of load()Gravatar brandjon2018-04-17
| | | | | RELNOTES: None PiperOrigin-RevId: 193206695
* Update gmaven_rules release tag in documentation and remove dependency on MavenGravatar jingwen2018-04-16
| | | | | RELNOTES: None. PiperOrigin-RevId: 193048262
* Introduce `--incompatible_disallow_filetype` to remove the `FileType` function.Gravatar laurentlb2018-04-13
| | | | | | | | RELNOTES: `FileType` is deprecated and will be removed soon. Try the `--incompatible_disallow_filetype` flag to ensure your code is forward-compatible. PiperOrigin-RevId: 192758063
* Update the markdown headerGravatar laurentlb2018-04-13
| | | | | RELNOTES: None. PiperOrigin-RevId: 192754490
* Update "Android and Bazel" page with more descriptive texts, and also added ↵Gravatar jingwen2018-04-12
| | | | | | | a point about Android Instrumentation Tests. RELNOTES: None. PiperOrigin-RevId: 192707296
* Document the new ctx.actions.args() APIGravatar brandjon2018-04-12
| | | | | | RELNOTES: Args objects (ctx.actions.args()) have new methods add_all() and add_joined() for building command lines using depsets. RELNOTES[INC]: Added flag --incompatible_disallow_old_style_args_add to help migrate from args.add() to args.add_all() / args.add_joined() where appropriate. PiperOrigin-RevId: 192633763
* Add note about Skylark migration in android_instrumentation_test docGravatar Jingwen Chen2018-04-12
| | | | | | Closes #5008. PiperOrigin-RevId: 192629969
* Fix name of toolchain registration function in doc.Gravatar Benjamin Peterson2018-04-12
| | | | | | | Closes #4988. Change-Id: I23c705917a9582aef70ba4947bb28b4a228e8833 PiperOrigin-RevId: 192622600
* Remove flag `incompatible_disallow_toplevel_if_statement`.Gravatar laurentlb2018-04-12
| | | | | | RELNOTES: Removed flag `--incompatible_disallow_toplevel_if_statement`. PiperOrigin-RevId: 192621765
* Fix bad formattingGravatar brandjon2018-04-12
| | | | | | | Language type for code blocks should be "python", not "skylark". RELNOTES: None PiperOrigin-RevId: 192608419
* The alwayslink issue with VS 2017 has been reported and fixed by VS team.Gravatar pcloudy2018-04-12
| | | | | | | Now there isn't any known issue with Bazel working with VS 2017. RELNOTES: None PiperOrigin-RevId: 192596171
* Documentation for android_instrumentation_test on docs.bazel.buildGravatar jingwen2018-04-11
| | | | | | | This document is targeted at intermediate/advanced Android + Bazel users, so it assumes that the user has a grasp of android_* rules, external dependency management and Android testing. RELNOTES: None. PiperOrigin-RevId: 192550803
* Update ctx.action.args() docs.Gravatar tomlu2018-04-11
| | | | | RELNOTES: None PiperOrigin-RevId: 192479130
* Introduce `--incompatible_disallow_slash_operator` to disable `/` operator.Gravatar laurentlb2018-04-11
| | | | | | | | RELNOTES: The `/` operator is deprecated in favor of `//` (floor integer division). Try the `--incompatible_disallow_slash_operator` flag to ensure your code is forward-compatible. PiperOrigin-RevId: 192430310
* Add "--detach" to tap_presubmit command. Without it, TAP warned it may not haltGravatar Googler2018-04-10
| | | | | | | | if some test runs forever. Correct code snippet labels. RELNOTES: Add "--detach" to tap_presubmit command. PiperOrigin-RevId: 192314988
* Update repository-rule documentation on restartsGravatar Klaus Aehlig2018-04-10
| | | | | | | | | | Update documentation of repository rules to reflect the recent change that label arguments are prefetched. Related to #4533. Change-Id: I765b3d030ca3e6bf0cca7e18f4bfcc17d1d5aea3 PiperOrigin-RevId: 192258022
* 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