Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,21 @@ http_archive(
"https://mirror.bazel.build/github.com/bazelbuild/rules_license/releases/download/0.0.4/rules_license-0.0.4.tar.gz",
"https://github.com/bazelbuild/rules_license/releases/download/0.0.4/rules_license-0.0.4.tar.gz",
],
)
)

# Shell rules.
http_archive(
name = "rules_shell",
sha256 = "bc61ef94facc78e20a645726f64756e5e285a045037c7a61f65af2941f4c25e1",
strip_prefix = "rules_shell-0.4.1",
urls = [
"https://storage.googleapis.com/mirror.tensorflow.org/github.com/bazelbuild/rules_shell/releases/download/v0.4.1/rules_shell-v0.4.1.tar.gz",
"https://github.com/bazelbuild/rules_shell/releases/download/v0.4.1/rules_shell-v0.4.1.tar.gz",
],
)

load("@rules_shell//shell:repositories.bzl", "rules_shell_dependencies", "rules_shell_toolchains")

rules_shell_dependencies()

rules_shell_toolchains()
2 changes: 2 additions & 0 deletions package/BUILD
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
load("@rules_shell//shell:sh_binary.bzl", "sh_binary")

licenses(["notice"]) # Apache 2.0

sh_binary(
Expand Down
1 change: 1 addition & 0 deletions tensorflow_gnn/runner/utils/BUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Placeholder: load py_library
load("@tensorflow_gnn//tensorflow_gnn:tensorflow_gnn.bzl", "py_binary")
load("@rules_shell//shell:sh_test.bzl", "sh_test")
load("@tensorflow_gnn//tensorflow_gnn:tensorflow_gnn.bzl", "tf_py_test")

# Copybara rewrites load() statements back and forth; do not reformat.
Expand Down
Loading