Skip to content

Commit

Permalink
Add starlark highlighting to Bazel readme (emscripten-core#1264)
Browse files Browse the repository at this point in the history
Mark the build files as using the starlark language so they have the correct syntax highlighting.
  • Loading branch information
mattsoulanille authored and shlomif committed Sep 29, 2023
1 parent c5e02fa commit d27c69b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bazel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Setup Instructions

In `WORKSPACE` file, put:
```
```starlark
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "emsdk",
Expand Down Expand Up @@ -37,7 +37,7 @@ build --incompatible_enable_cc_toolchain_resolution

Then write a new rule wrapping your `cc_binary`.

```
```starlark
load("@rules_cc//cc:defs.bzl", "cc_binary")
load("@emsdk//emscripten_toolchain:wasm_rules.bzl", "wasm_cc_binary")

Expand Down

0 comments on commit d27c69b

Please sign in to comment.