Skip to content

Commit 62cc323

Browse files
authored
Syntax highlight the readme as starlark (#939)
1 parent 8c23560 commit 62cc323

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Any new capabilities will be added here.
2828

2929
Sample, but see [releases](https://github.com/bazelbuild/rules_pkg/releases) for the current release.
3030

31-
```
31+
```starlark
3232
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
3333
http_archive(
3434
name = "rules_pkg",
@@ -44,7 +44,7 @@ rules_pkg_dependencies()
4444

4545
To use `pkg_rpm()`, you must provide a copy of `rpmbuild`. You can use the
4646
system installed `rpmbuild` with this stanza.
47-
```
47+
```starlark
4848
load("@rules_pkg//toolchains/rpm:rpmbuild_configure.bzl", "find_system_rpmbuild")
4949

5050
find_system_rpmbuild(
@@ -55,12 +55,12 @@ find_system_rpmbuild(
5555

5656
## MODULE.bazel setup
5757

58-
```
58+
```starlark
5959
bazel_dep(name = "rules_pkg", version = "0.0.10")
6060
```
6161
To use `pkg_rpm()`, you must provide a copy of `rpmbuild`. You can use the
6262
system installed `rpmbuild` with this stanza.
63-
```
63+
```starlark
6464
find_rpm = use_extension("//toolchains/rpm:rpmbuild_configure.bzl", "find_system_rpmbuild_bzlmod")
6565
use_repo(find_rpm, "rules_pkg_rpmbuild")
6666
register_toolchains("@rules_pkg_rpmbuild//:all")

0 commit comments

Comments
 (0)