Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run buildifier to reformat bzl/BUILD files #260

Merged
merged 2 commits into from
Nov 3, 2019
Merged
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
5 changes: 4 additions & 1 deletion bindgen/raze/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,18 @@ cargo-raze workspace build file.

DO NOT EDIT! Replaced on runs of cargo-raze
"""

package(default_visibility = ["//visibility:public"])

licenses([
"notice" # See individual crates for specific licenses
"notice", # See individual crates for specific licenses
])

alias(
name = "bindgen",
actual = "@raze__bindgen__0_40_0//:bindgen",
)

alias(
# Extra aliased target, from raze configuration
# N.B.: The exact form of this is subject to change.
Expand Down
95 changes: 47 additions & 48 deletions bindgen/raze/crates.bzl

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bindgen/raze/libloading.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ rust_library(
crate_root = "src/lib.rs",
crate_type = "lib",
rustc_flags = ["--cap-lints=allow"],
deps = [":global_static"],
visibility = ["//visibility:public"],
deps = [":global_static"],
)
43 changes: 21 additions & 22 deletions bindgen/raze/remote/aho-corasick-0.6.9.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,62 +3,61 @@ cargo-raze crate build file.

DO NOT EDIT! Replaced on runs of cargo-raze
"""

package(default_visibility = [
# Public for visibility by "@raze__crate__version//" targets.
#
# Prefer access through "//bindgen/raze", which limits external
# visibility to explicit Cargo.toml dependencies.
"//visibility:public",
# Public for visibility by "@raze__crate__version//" targets.
#
# Prefer access through "//bindgen/raze", which limits external
# visibility to explicit Cargo.toml dependencies.
"//visibility:public",
])

licenses([
"notice", # "MIT"
"unencumbered", # "Unlicense"
"notice", # "MIT"
"unencumbered", # "Unlicense"
])

load(
"@io_bazel_rules_rust//rust:rust.bzl",
"rust_library",
"rust_binary",
"rust_library",
"rust_test",
)


rust_binary(
# Prefix bin name to disambiguate from (probable) collision with lib name
# N.B.: The exact form of this is subject to change.
name = "cargo_bin_aho_corasick_dot",
crate_root = "src/main.rs",
edition = "2015",
srcs = glob(["**/*.rs"]),
deps = [
# Binaries get an implicit dependency on their lib
":aho_corasick",
"@raze__memchr__2_1_3//:memchr",
crate_features = [
],
crate_root = "src/main.rs",
edition = "2015",
rustc_flags = [
"--cap-lints=allow",
],
version = "0.6.9",
crate_features = [
deps = [
# Binaries get an implicit dependency on their lib
":aho_corasick",
"@raze__memchr__2_1_3//:memchr",
],
)


rust_library(
name = "aho_corasick",
srcs = glob(["**/*.rs"]),
crate_features = [
],
crate_root = "src/lib.rs",
crate_type = "lib",
edition = "2015",
srcs = glob(["**/*.rs"]),
deps = [
"@raze__memchr__2_1_3//:memchr",
],
rustc_flags = [
"--cap-lints=allow",
],
version = "0.6.9",
crate_features = [
deps = [
"@raze__memchr__2_1_3//:memchr",
],
)

Expand Down
25 changes: 12 additions & 13 deletions bindgen/raze/remote/ansi_term-0.11.0.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,40 +3,39 @@ cargo-raze crate build file.

DO NOT EDIT! Replaced on runs of cargo-raze
"""

package(default_visibility = [
# Public for visibility by "@raze__crate__version//" targets.
#
# Prefer access through "//bindgen/raze", which limits external
# visibility to explicit Cargo.toml dependencies.
"//visibility:public",
# Public for visibility by "@raze__crate__version//" targets.
#
# Prefer access through "//bindgen/raze", which limits external
# visibility to explicit Cargo.toml dependencies.
"//visibility:public",
])

licenses([
"notice", # "MIT"
"notice", # "MIT"
])

load(
"@io_bazel_rules_rust//rust:rust.bzl",
"rust_library",
"rust_binary",
"rust_library",
"rust_test",
)



rust_library(
name = "ansi_term",
srcs = glob(["**/*.rs"]),
crate_features = [
],
crate_root = "src/lib.rs",
crate_type = "lib",
edition = "2015",
srcs = glob(["**/*.rs"]),
deps = [
],
rustc_flags = [
"--cap-lints=allow",
],
version = "0.11.0",
crate_features = [
deps = [
],
)

Expand Down
27 changes: 13 additions & 14 deletions bindgen/raze/remote/atty-0.2.11.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,42 +3,41 @@ cargo-raze crate build file.

DO NOT EDIT! Replaced on runs of cargo-raze
"""

package(default_visibility = [
# Public for visibility by "@raze__crate__version//" targets.
#
# Prefer access through "//bindgen/raze", which limits external
# visibility to explicit Cargo.toml dependencies.
"//visibility:public",
# Public for visibility by "@raze__crate__version//" targets.
#
# Prefer access through "//bindgen/raze", which limits external
# visibility to explicit Cargo.toml dependencies.
"//visibility:public",
])

licenses([
"notice", # "MIT"
"notice", # "MIT"
])

load(
"@io_bazel_rules_rust//rust:rust.bzl",
"rust_library",
"rust_binary",
"rust_library",
"rust_test",
)


# Unsupported target "atty" with type "example" omitted

rust_library(
name = "atty",
srcs = glob(["**/*.rs"]),
crate_features = [
],
crate_root = "src/lib.rs",
crate_type = "lib",
edition = "2015",
srcs = glob(["**/*.rs"]),
deps = [
"@raze__libc__0_2_48//:libc",
],
rustc_flags = [
"--cap-lints=allow",
],
version = "0.2.11",
crate_features = [
deps = [
"@raze__libc__0_2_48//:libc",
],
)

Loading