run buildifier/buildozer to tidy up BUILD files
This commit is contained in:
parent
0c821859c5
commit
8d90b6b061
@ -1,4 +1,4 @@
|
||||
load("@rules_python//python:defs.bzl", "py_binary", "py_library", "py_test")
|
||||
load("@rules_python//python:defs.bzl", "py_binary", "py_test")
|
||||
load("@py_deps//:requirements.bzl", "requirement")
|
||||
|
||||
py_test(
|
||||
|
@ -1,4 +1,4 @@
|
||||
load("@rules_python//python:defs.bzl", "py_binary", "py_test")
|
||||
load("@rules_python//python:defs.bzl", "py_binary")
|
||||
load("@py_deps//:requirements.bzl", "requirement")
|
||||
load(":stubs.bzl", "copy_stubs")
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
load("@bazel_skylib//rules:copy_file.bzl", "copy_file")
|
||||
load("@rules_python//python:defs.bzl", "py_library")
|
||||
load("@py_deps//:requirements.bzl", "requirement")
|
||||
load("@rules_python//python:packaging.bzl", "py_package", "py_wheel")
|
||||
|
@ -1,5 +1,4 @@
|
||||
load("//ts:vendor.bzl", "copy_mdi_icons")
|
||||
load("@rules_python//python:defs.bzl", "py_binary")
|
||||
|
||||
copy_mdi_icons(
|
||||
name = "mdi-icons",
|
||||
|
@ -1,4 +1,3 @@
|
||||
load("@bazel_skylib//rules:copy_file.bzl", "copy_file")
|
||||
load("//ts:copy.bzl", "copy_files_into_group")
|
||||
load("//ts:compile_sass.bzl", "compile_sass")
|
||||
|
||||
@ -8,12 +7,12 @@ compile_sass(
|
||||
exclude = ["_*.scss"],
|
||||
),
|
||||
group = "css_local",
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
"//sass:buttons_lib",
|
||||
"//sass:scrollbar_lib",
|
||||
"//sass:card_counts_lib",
|
||||
"//sass:scrollbar_lib",
|
||||
],
|
||||
visibility = ["//visibility:private"],
|
||||
)
|
||||
|
||||
copy_files_into_group(
|
||||
@ -24,7 +23,6 @@ copy_files_into_group(
|
||||
package = "//ts/editor",
|
||||
)
|
||||
|
||||
|
||||
copy_files_into_group(
|
||||
name = "editable",
|
||||
srcs = [
|
||||
@ -45,8 +43,8 @@ filegroup(
|
||||
name = "css",
|
||||
srcs = [
|
||||
"css_local",
|
||||
"editor",
|
||||
"editable",
|
||||
"editor",
|
||||
"reviewer",
|
||||
],
|
||||
visibility = ["//qt:__subpackages__"],
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright: Ankitects Pty Ltd and contributors
|
||||
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||
|
||||
load("@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", "rust_test")
|
||||
load("@rules_rust//rust:defs.bzl", "rust_library", "rust_test")
|
||||
load("@rules_rust//cargo:cargo_build_script.bzl", "cargo_build_script")
|
||||
load(":rustfmt.bzl", "rustfmt_fix", "rustfmt_test")
|
||||
load("//ts/sql_format:defs.bzl", "sql_format")
|
||||
|
@ -2,7 +2,6 @@
|
||||
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||
|
||||
load("@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", "rust_test")
|
||||
load("@rules_rust//cargo:cargo_build_script.bzl", "cargo_build_script")
|
||||
load("//rslib:rustfmt.bzl", "rustfmt_fix", "rustfmt_test")
|
||||
|
||||
# Library
|
||||
|
@ -1,5 +1,3 @@
|
||||
load("@py_deps//:requirements.bzl", "requirement")
|
||||
|
||||
py_binary(
|
||||
name = "buildinfo",
|
||||
srcs = ["buildinfo.py"],
|
||||
|
@ -2,7 +2,6 @@ load("//ts:prettier.bzl", "prettier_test")
|
||||
load("//ts:eslint.bzl", "eslint_test")
|
||||
load("//ts/svelte:svelte.bzl", "compile_svelte", "svelte_check")
|
||||
load("//ts:esbuild.bzl", "esbuild")
|
||||
load("//ts:vendor.bzl", "copy_bootstrap_icons")
|
||||
load("//ts:compile_sass.bzl", "compile_sass")
|
||||
load("//ts:typescript.bzl", "typescript")
|
||||
load("//ts:jest.bzl", "jest_test")
|
||||
@ -49,9 +48,9 @@ esbuild(
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
":base_css",
|
||||
"@npm//bootstrap-icons",
|
||||
":index",
|
||||
":svelte",
|
||||
"@npm//bootstrap-icons",
|
||||
],
|
||||
)
|
||||
|
||||
|
@ -23,8 +23,8 @@ typescript(
|
||||
name = "congrats_ts",
|
||||
deps = [
|
||||
":svelte",
|
||||
"//ts/lib",
|
||||
"//ts/components",
|
||||
"//ts/lib",
|
||||
"@npm//@fluent",
|
||||
"@npm//svelte",
|
||||
"@npm//svelte2tsx",
|
||||
|
@ -1,8 +1,7 @@
|
||||
load("//ts:prettier.bzl", "prettier_test")
|
||||
load("//ts:eslint.bzl", "eslint_test")
|
||||
load("//ts/svelte:svelte.bzl", "compile_svelte", "svelte", "svelte_check")
|
||||
load("//ts/svelte:svelte.bzl", "compile_svelte", "svelte_check")
|
||||
load("//ts:esbuild.bzl", "esbuild")
|
||||
load("//ts:vendor.bzl", "copy_bootstrap_icons")
|
||||
load("//ts:compile_sass.bzl", "compile_sass")
|
||||
load("//ts:jest.bzl", "jest_test")
|
||||
load("//ts:typescript.bzl", "typescript")
|
||||
@ -13,8 +12,8 @@ compile_sass(
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
"//sass:base_lib",
|
||||
"//sass:scrollbar_lib",
|
||||
"//sass:breakpoints_lib",
|
||||
"//sass:scrollbar_lib",
|
||||
"//sass/bootstrap",
|
||||
],
|
||||
)
|
||||
|
@ -17,7 +17,6 @@ compile_sass(
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
_ts_deps = [
|
||||
"//ts/components",
|
||||
"//ts/lib",
|
||||
@ -46,8 +45,8 @@ esbuild(
|
||||
output_css = "editable.css",
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
":editable_ts",
|
||||
":editable_css",
|
||||
":editable_ts",
|
||||
"//ts/components",
|
||||
"@npm//@mdi",
|
||||
"@npm//protobufjs",
|
||||
|
@ -2,7 +2,6 @@ load("//ts/svelte:svelte.bzl", "compile_svelte", "svelte_check")
|
||||
load("//ts:prettier.bzl", "prettier_test")
|
||||
load("//ts:eslint.bzl", "eslint_test")
|
||||
load("//ts:esbuild.bzl", "esbuild")
|
||||
load("//ts:vendor.bzl", "copy_bootstrap_icons")
|
||||
load("//ts:compile_sass.bzl", "compile_sass")
|
||||
load("//ts:typescript.bzl", "typescript")
|
||||
|
||||
@ -51,12 +50,12 @@ esbuild(
|
||||
output_css = "editor.css",
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
":editor_ts",
|
||||
":editor_css",
|
||||
":editor_ts",
|
||||
"//sass:button_mixins_lib",
|
||||
"@npm//@mdi",
|
||||
"@npm//bootstrap-icons",
|
||||
"@npm//protobufjs",
|
||||
"//sass:button_mixins_lib",
|
||||
],
|
||||
)
|
||||
|
||||
|
@ -1,5 +1,4 @@
|
||||
load("//ts:typescript.bzl", "typescript")
|
||||
load("@build_bazel_rules_nodejs//:index.bzl", "nodejs_binary")
|
||||
|
||||
_deps = [
|
||||
"@npm//@sqltools/formatter",
|
||||
|
@ -1,4 +1,3 @@
|
||||
load("@npm//@bazel/typescript:index.bzl", "ts_project")
|
||||
load("//ts:prettier.bzl", "prettier_test")
|
||||
load("//ts:eslint.bzl", "eslint_test")
|
||||
load("//ts:typescript.bzl", "typescript")
|
||||
|
Loading…
Reference in New Issue
Block a user