From 350c19a36c3356b3202c108a68a20cd102bdc06b Mon Sep 17 00:00:00 2001 From: Matthew Soulanille Date: Tue, 8 Aug 2023 13:14:50 -0700 Subject: [PATCH] Add starlark highlighting to Bazel readme (#1264) 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 877f2e0..69a8021 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")