Replace Python with Starlark.

This commit is contained in:
Artur Dryomov 2020-02-03 09:25:33 +03:00 committed by GitHub
parent 6600161826
commit 2d1f48d061
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ For the list of C++ rules, see the Bazel
There is no need to use rules from this repository just yet. If you want to use There is no need to use rules from this repository just yet. If you want to use
`rules_cc` anyway, add the following to your `WORKSPACE` file: `rules_cc` anyway, add the following to your `WORKSPACE` file:
```python ```starlark
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive( http_archive(
@ -27,7 +27,7 @@ http_archive(
Then, in your `BUILD` files, import and use the rules: Then, in your `BUILD` files, import and use the rules:
```python ```starlark
load("@rules_cc//cc:defs.bzl", "cc_library") load("@rules_cc//cc:defs.bzl", "cc_library")
cc_library( cc_library(