Skip to content

Commit

Permalink
chore: remove the now-unnecessary dependency on rules_jsonnet
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbartholomew committed Jan 18, 2025
1 parent 3aa1fab commit 6c31c58
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 16 deletions.
1 change: 0 additions & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ build_defs = use_extension("//tools/build_defs:extensions.bzl", "build_defs")
use_repo(
build_defs,
"default_python3_headers",
"io_bazel_rules_jsonnet",
)

register_toolchains("//platform_defs:default_python3_toolchain")
7 changes: 0 additions & 7 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@ workspace(name = "jsonnet")

load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")

git_repository(
name = "io_bazel_rules_jsonnet",
commit = "ad2b4204157ddcf7919e8bd210f607f8a801aa7f",
remote = "https://github.com/bazelbuild/rules_jsonnet.git",
shallow_since = "1556260764 +0200",
)

git_repository(
name = "com_google_googletest",
# If updating googletest version, also update CMakeLists.txt.in.
Expand Down
9 changes: 1 addition & 8 deletions tools/build_defs/extensions.bzl
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
# load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load(":python_repo.bzl", "python_headers")

def _impl(repository_ctx):
git_repository(
name = "io_bazel_rules_jsonnet",
commit = "ad2b4204157ddcf7919e8bd210f607f8a801aa7f",
remote = "https://github.com/bazelbuild/rules_jsonnet.git",
shallow_since = "1556260764 +0200",
)

python_headers(name = "default_python3_headers")

build_defs = module_extension(
Expand Down

0 comments on commit 6c31c58

Please sign in to comment.