diff options
author | Tetsuo Kiso <tetsuokiso9@gmail.com> | 2016-01-18 17:53:25 +0000 |
---|---|---|
committer | Lukacs Berki <lberki@google.com> | 2016-01-19 13:27:38 +0000 |
commit | 819be0833421e3c8032f4ecf676113b809f846b8 (patch) | |
tree | 3297ccb351c4362682334fd30fff0212ebab059b /site | |
parent | 9b01924af929e7c5315961f3eb6c9e5f85a7ec8c (diff) |
Load `appengine_war` rule in `BUILD`
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
Diffstat (limited to 'site')
-rw-r--r-- | site/docs/tutorial/backend-server.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/site/docs/tutorial/backend-server.md b/site/docs/tutorial/backend-server.md index 1527d8656f..fc85cd6f62 100644 --- a/site/docs/tutorial/backend-server.md +++ b/site/docs/tutorial/backend-server.md @@ -222,6 +222,8 @@ for the `main_class` attribute. Add the following to your `BUILD` file: ```python +load("/tools/build_rules/appengine/appengine", "appengine_war") + appengine_war( name = "backend", data = [":webapp"], |