Skip to content

Commit

Permalink
Use vendored buildifier with the bazel vscode extension.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zemnmez committed Sep 28, 2024
1 parent 8f22ea5 commit b506fb9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 13 deletions.
5 changes: 3 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,5 +115,6 @@
],
"typescript.preferences.autoImportFileExcludePatterns": [
"**/_*"
]
}
],
"bazel.buildifierExecutable": "@@//:buildifier"
}
4 changes: 2 additions & 2 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
load("@aspect_rules_py//py:defs.bzl", "py_venv")
load("@bazel_gazelle//:def.bzl", "gazelle", "gazelle_binary")
load("@bazel_skylib//rules:native_binary.bzl", "native_test")
load("@com_github_bazelbuild_buildtools//buildifier:def.bzl", "buildifier")
load("@npm//:defs.bzl", "npm_link_all_packages")
load("@npm//:renovate/package_json.bzl", "bin")
load("@pip//:requirements.bzl", "all_whl_requirements")
Expand Down Expand Up @@ -46,8 +45,9 @@ alias(
actual = "@pnpm//:pnpm",
)

buildifier(
alias(
name = "buildifier",
actual = "@com_github_bazelbuild_buildtools//buildifier:buildifier",
)

ts_config(
Expand Down
9 changes: 0 additions & 9 deletions bzl/deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,6 @@ def fetch_dependencies():
],
)

http_archive(
name = "com_github_bazelbuild_buildtools",
sha256 = "051951c10ff8addeb4f10be3b0cf474b304b2ccd675f2cc7683cdd9010320ca9",
strip_prefix = "buildtools-7.3.1",
urls = [
"https://github.com/bazelbuild/buildtools/archive/refs/tags/v7.3.1.tar.gz",
],
)

http_file(
name = "inkscape_linux",
sha256 = "b7a99b6c0ee2817706e77803643f4a6caf9e35bdec928e963c1d2ae86e5e4beb",
Expand Down

0 comments on commit b506fb9

Please sign in to comment.