Merge pull request #103 from limdor:buildifier_fix

PiperOrigin-RevId: 372517636
Change-Id: I65cae735170b4c017f63ae6fbfd1ec6500e258b0
This commit is contained in:
Copybara-Service 2021-05-07 02:44:41 -07:00
commit 656e045167
2 changed files with 3 additions and 3 deletions

View File

@ -4,13 +4,15 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive( http_archive(
name = "rules_pkg", name = "rules_pkg",
sha256 = "352c090cc3d3f9a6b4e676cf42a6047c16824959b438895a76c2989c6d7c246a",
urls = [ urls = [
"https://github.com/bazelbuild/rules_pkg/releases/download/0.2.5/rules_pkg-0.2.5.tar.gz", "https://github.com/bazelbuild/rules_pkg/releases/download/0.2.5/rules_pkg-0.2.5.tar.gz",
"https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.2.5/rules_pkg-0.2.5.tar.gz", "https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.2.5/rules_pkg-0.2.5.tar.gz",
], ],
sha256 = "352c090cc3d3f9a6b4e676cf42a6047c16824959b438895a76c2989c6d7c246a",
) )
load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies") load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")
rules_pkg_dependencies() rules_pkg_dependencies()
http_archive( http_archive(

View File

@ -15,8 +15,6 @@ advanced usage.
load("@bazel_tools//tools/cpp:cc_toolchain_config_lib.bzl", "tool_path") load("@bazel_tools//tools/cpp:cc_toolchain_config_lib.bzl", "tool_path")
def _impl(ctx): def _impl(ctx):
print("Invoking my custom toolchain!")
tool_paths = [ tool_paths = [
tool_path( tool_path(
name = "ar", name = "ar",