Skip to content

Commit

Permalink
chore(configurations): enable bzlmod
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle committed Sep 29, 2023
1 parent a2f2c1f commit 3c03851
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 16 deletions.
1 change: 1 addition & 0 deletions configurations/.bazelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
common --enable_bzlmod
3 changes: 3 additions & 0 deletions configurations/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
"Bazel dependencies, see https://registry.bazel.build"

bazel_dep(name = "bazel_skylib", version = "1.4.2")
17 changes: 1 addition & 16 deletions configurations/WORKSPACE
Original file line number Diff line number Diff line change
@@ -1,16 +1 @@
workspace(name = "examples")

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
name = "bazel_skylib",
sha256 = "f7be3474d42aae265405a592bb7da8e171919d74c16f082a5457840f06054728",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.2.1/bazel-skylib-1.2.1.tar.gz",
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.2.1/bazel-skylib-1.2.1.tar.gz",
],
)

load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")

bazel_skylib_workspace()
# Marker that this folder is the root of a Bazel workspace.

0 comments on commit 3c03851

Please sign in to comment.