aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/docs
Commit message (Collapse)AuthorAge
* 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
* Bazel docs: remove grammatical trace of a flag that was removed.Gravatar Laszlo Csomor2016-01-21
| | | | | -- MOS_MIGRATED_REVID=112573386
* Add titles to Bazel documentation pages.Gravatar David Chen2016-01-20
| | | | | | | Fixes #790 -- MOS_MIGRATED_REVID=112563137
* Load `appengine_war` rule in `BUILD`Gravatar Tetsuo Kiso2016-01-19
| | | | | | | | Because `appengine_war` is not defined by default, `bazel build` fails unless loading. It would be nice to add the code to load the rule in the tutorial. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/794 MOS_MIGRATED_REVID=112415835
* Add native.rule(NAME), which returns the attributes of a previously defined ↵Gravatar Han-Wen Nienhuys2016-01-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | rule. Add native.rules(), which returns all previously defined rules. These primitives can be used to write Skylark extensions that aggregate over the contents of a BUILD file, eg. def instantiate_if_needed(name): n = name + "_wrapped" if not native.rule(n): py_test(name = n , ... ) def archive_cc_src_files(tag): all_src = [] for r in native.rules().values(): if tag in r["tags"] and r["kind"] == "cc_library": all_src.append(r["srcs"]) native.genrule(cmd = "zip $@ $^", srcs = all_src, outs = ["out.zip"]) RELNOTES: Support aggregation over existing rules in Skylark extensions through native.rules and native.rule. -- MOS_MIGRATED_REVID=112249050
* Update skylark docs for grammar and clarity.Gravatar Alex Humesky2016-01-15
| | | | | -- MOS_MIGRATED_REVID=112248853
* Remove obsolete reference to all-rulesGravatar Laurent Le Brun2016-01-15
| | | | | -- MOS_MIGRATED_REVID=112231484
* Stop recommending installing openjdk-sourceGravatar Damien Martin-Guillerez2016-01-15
| | | | | | | It isn't necessary anymore. -- MOS_MIGRATED_REVID=112132272
* Fix include for the cpp example on the websiteGravatar Emmanuel Jay2016-01-14
| | | | | | | | See https://groups.google.com/forum/#!topic/bazel-discuss/xPe-oaqWZ6s -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/787 MOS_MIGRATED_REVID=112129205
* Grammar fix: "it follow" -> "it follows"Gravatar Googler2016-01-14
| | | | | -- MOS_MIGRATED_REVID=112099756
* Adding some links to skylark concepts g3docGravatar Googler2016-01-13
| | | | | -- MOS_MIGRATED_REVID=112039216
* Update install docs as installer has changedGravatar Samuel Husso2016-01-11
| | | | | | -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/764 MOS_MIGRATED_REVID=111832176
* Fix example of macro in the documentationGravatar Laurent Le Brun2016-01-07
| | | | | -- MOS_MIGRATED_REVID=111607647
* Fix error in documentation -- SIGQUIT not SIGINT will make Bazel dump its ↵Gravatar Janak Ramakrishnan2016-01-07
| | | | | | | | | threads! Fixes #748 -- MOS_MIGRATED_REVID=111468883
* Document that ctrl-\ causes Bazel to dump its threads to its jvm.out file, ↵Gravatar Janak Ramakrishnan2016-01-07
| | | | | | | to aid in diagnosing issue #748. -- MOS_MIGRATED_REVID=111360258
* Update C++ gtest example to include all headers in sandboxGravatar Kristina Chodorow2015-12-22
| | | | | | | | | | | | This was originally written before sandboxing was enabled and I didn't notice that src/ contained a header. I've also removed the -Iexternal/gtest lines, since they're no longer needed. Fixes #734. -- MOS_MIGRATED_REVID=110790783
* Add support for downloading through proxiesGravatar Kristina Chodorow2015-12-22
| | | | | | | Fixes #587. -- MOS_MIGRATED_REVID=110785300
* Open source output directory documentationGravatar Kristina Chodorow2015-12-22
| | | | | -- MOS_MIGRATED_REVID=110770240
* RELNOTES: add loadfiles() query operator, to find skylark files loaded by ↵Gravatar Han-Wen Nienhuys2015-12-16
| | | | | | | targets. -- MOS_MIGRATED_REVID=110275427
* Clarify that add-apt-repository depends on software-common-propertiesGravatar Shay Weiss2015-12-13
| | | | | | | | I got the "command not found" error for add-apt-repository on a clean Ubuntu installation and I think that the docs can be friendlier if they specify this :) -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/691 MOS_MIGRATED_REVID=110062139
* Further improve sandbox documentation.Gravatar Philipp Wollermann2015-12-10
| | | | | -- MOS_MIGRATED_REVID=109881691