From 7902da302acf859763d7e36ef5125fbe372aabb3 Mon Sep 17 00:00:00 2001 From: Matthew Soulanille Date: Mon, 7 Aug 2023 17:37:39 -0700 Subject: [PATCH] Add starlark highlighting to Bazel readme Mark the build files as using the starlark language so they have the correct syntax highlighting. --- bazel/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bazel/README.md b/bazel/README.md index 877f2e073d..69a802146b 100644 --- a/bazel/README.md +++ b/bazel/README.md @@ -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", @@ -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")