aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/docs
Commit message (Collapse)AuthorAge
* 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
* Improve sandboxing documentationGravatar Damien Martin-Guillerez2015-12-10
| | | | | | | | | | - Add mitigation of the common problem to the documentation - Add indication on how to activate sandboxing on some machine (GKE nodes for example) Fixes #433 -- MOS_MIGRATED_REVID=109879921
* Refactor external repository support significantly to solve a number of issues.Gravatar Lukacs Berki2015-12-09
| | | | | | | | | | | | | | | In particular: - Separate the implementation of maven_server into a RepositoryFunction and one that creates the MavenServerValue (ideally, maven_server wouldn't exist but we'll have to make to for the time being) - Refactor the logic of determining whether an external repository needs to be re-fetched to RepositoryDelegatorFunction - Make RepositoryFunctions not be SkyFunctions anymore (they are called from RepositoryDelegatorFunction, though, who *is* a SkyFunction) - Add a Skyframe dirtiness checker that makes --nofetch RepositoryValues not be cached - Add a bunch of test cases and javadoc There is only one wart that I know of that remains: changes to BUILD files of new_* repository rules that weren't refetched when their RepositoryValue was initiall created on server restart won't take effect. This is because we don't add those BUILD files to the created RepositoryValue. This will fix itself once the ExternalFilesHelper refactoring is submitted. -- MOS_MIGRATED_REVID=109768345
* Explicitly mention that 'manual' test targets are not matched by wildcard ↵Gravatar Nathan Harmata2015-12-03
| | | | | | | target patterns and are thus neither built nor tested by invocations like "blaze test //my/project/..." -- MOS_MIGRATED_REVID=109251573
* External repository documentation improvementsGravatar Kristina Chodorow2015-11-26
| | | | | -- MOS_MIGRATED_REVID=108717933
* Fix broken link in Skylark documentationGravatar Laurent Le Brun2015-11-20
| | | | | -- MOS_MIGRATED_REVID=108347869
* Do not recurse into the convenience symlinks when evaluating the "//..." ↵Gravatar Lukacs Berki2015-11-20
| | | | | | | | | target pattern. Apart from the tests, I also tested this manually running "bazel query //..." in a tree with convenience symlinks. -- MOS_MIGRATED_REVID=108325454
* Mention --host_crosstool_top in the docs where it's relevantGravatar Brian Silverman2015-11-20
| | | | | | | | | | I filed #546 because I didn't notice --host_crosstool_top does what I want. -- Change-Id: Ib219753ad69c3026f1aa6d1889a0e7fac4449b2b Reviewed-on: https://bazel-review.googlesource.com/#/c/2261/ MOS_MIGRATED_REVID=108267036
* Run bazel documentation tests on mac/linux.Gravatar Dmitry Lomov2015-11-19
| | | | | | | Also, fix said documentation. -- MOS_MIGRATED_REVID=108247791
* Open source BazelDocumentationTest (and fix documentation).Gravatar Dmitry Lomov2015-11-19
| | | | | -- MOS_MIGRATED_REVID=108145081
* Recommend that optional parameters have a default of None.Gravatar Chris Povirk2015-11-17
| | | | | -- MOS_MIGRATED_REVID=107957505
* Tutorial: fix WORKSPACE env var exportGravatar Kamal Marhubi2015-11-16
| | | | | | | | | As mentioned in mailing list: https://groups.google.com/forum/#!msg/bazel-discuss/Lmmny9foXW0/_tf2ti8KCAAJ -- Change-Id: I8ec654b3cb8a5df28113d1136c511334c1ea99e9 Reviewed-on: https://bazel-review.googlesource.com/#/c/2340/ MOS_MIGRATED_REVID=107923683
* Optionally allow Bazel to pass JVM options containing spaces directly ↵Gravatar Janak Ramakrishnan2015-11-16
| | | | | | | | | through to the JVM instead of (almost certainly incorrectly) splitting the options along spaces. This allows us to pass non-quote-delimited strings to the JVM, which is necessary for things like -XX:OnOutOfMemoryError="kill -3 %p" (normally bash strips those quotes, but they're not stripped when passed via --host_jvm_args). -- MOS_MIGRATED_REVID=107820087
* RELNOTES: Symlink dirents of directories containing a file named ↵Gravatar Nathan Harmata2015-11-13
| | | | | | | | | | | | | | "DONT_FOLLOW_SYMLINKS_WHEN_TRAVERSING_THIS_DIRECTORY_VIA_A_RECURSIVE_TARGET_PATTERN" will *not* be traversed for transitive target patterns. The motivation here is to allow directories that intentionally contain wonky symlinks (e.g. foo/bar -> foo) to opt out of being consumed by Blaze. For example, given <workspace>/foo bar bad -> . DONT_FOLLOW_SYMLINKS_WHEN_TRAVERSING_THIS_DIRECTORY_VIA_A_RECURSIVE_TARGET_PATTERN the 'bad' symlink will *not* be traversed by the pattern '//foo/...'. -- MOS_MIGRATED_REVID=107738930
* Mark support for Ubuntu 15.10 instead of 14.10Gravatar Damien Martin-Guillerez2015-11-11
| | | | | | | | Ubuntu 14.10 has reached end-of-life for several months now. -- MOS_MIGRATED_REVID=107473533
* Change "contact us" link in Bazel's mobile-install docs, to point at the ↵Gravatar Carmi Grushko2015-11-04
| | | | | | | | | bazel-discuss group, not the contribution instructions. RELNOTES: -- MOS_MIGRATED_REVID=106995833
* Update links in Bazel docs to point to new BE pages.Gravatar David Chen2015-11-02
| | | | | | | Fixes #529 -- MOS_MIGRATED_REVID=106883457