Skip to content

Commit

Permalink
Migrate new_local_repository to bzlmod
Browse files Browse the repository at this point in the history
Change-Id: I43bf5c1b0db104c5f621bb5220df73a1cd16628e
  • Loading branch information
TimotheusBachinger committed Feb 13, 2025
1 parent 67410b4 commit f6dd239
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 20 deletions.
4 changes: 4 additions & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -189,3 +189,7 @@ bazel_dep(
version = "8.0.0",
dev_dependency = True,
)

new_local_repository = use_repo_rule("@bazel_tools//tools/build_defs/repo:local.bzl", "new_local_repository")
new_local_repository(name="glib", build_file="@//omd/packages/glib:BUILD", path="/usr")
new_local_repository(name="libxml2", build_file="@//omd/packages/libxml2:BUILD", path="/usr")
8 changes: 0 additions & 8 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -216,14 +216,6 @@ load("//omd/packages/rrdtool:rrdtool_http.bzl", "rrdtool_workspace")

rrdtool_workspace()

load("//omd/packages/glib:glib.bzl", "glib_local_repo")

glib_local_repo("glib")

load("//omd/packages/libxml2:libxml2.bzl", "libxml2_local_repo")

libxml2_local_repo("libxml2")

load("//omd/packages/rrdtool:rrdtool_native.bzl", "rrdtool_native_workspace")

rrdtool_native_workspace()
Expand Down
6 changes: 0 additions & 6 deletions omd/packages/glib/glib.bzl

This file was deleted.

6 changes: 0 additions & 6 deletions omd/packages/libxml2/libxml2.bzl

This file was deleted.

0 comments on commit f6dd239

Please sign in to comment.