Skip to content

Commit

Permalink
tidy up bazel_rulies
Browse files Browse the repository at this point in the history
  • Loading branch information
aishfenton committed Nov 28, 2023
1 parent c8876ef commit be34a02
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 238 deletions.
27 changes: 0 additions & 27 deletions bazel_rules/bsp_target.bzl

This file was deleted.

File renamed without changes.
103 changes: 0 additions & 103 deletions bazel_rules/private/bsp_target_rules.bzl

This file was deleted.

21 changes: 0 additions & 21 deletions bazel_rules/private/gather_semanticdb.sh

This file was deleted.

39 changes: 0 additions & 39 deletions bazel_rules/private/sources_aspect.bzl

This file was deleted.

21 changes: 0 additions & 21 deletions bazel_rules/src_aspect.bzl

This file was deleted.

6 changes: 0 additions & 6 deletions examples/simple-no-errors/src/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
load("@io_bazel_rules_scala//scala:scala.bzl", "scala_binary")
load("@bsp4bazel-rules//:bsp_target.bzl", "bsp_target")

scala_binary(
name = "main_run",
main_class = "example.Main",
visibility = ["//visibility:public"],
deps = ["//src/example"],
)

bsp_target(
name = "src_bsp",
target = ":main_run",
)
6 changes: 0 additions & 6 deletions examples/simple-no-errors/src/example/foo/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
load("@io_bazel_rules_scala//scala:scala.bzl", "scala_library")
load("@bsp4bazel-rules//:bsp_target.bzl", "bsp_target")

scala_library(
name = "foo",
srcs = glob(["*.scala"]),
visibility = ["//visibility:public"],
)

bsp_target(
name = "foo_bsp",
target = ":foo",
)
7 changes: 0 additions & 7 deletions examples/simple-with-errors/src/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
load("@io_bazel_rules_scala//scala:scala.bzl", "scala_binary")
load("@bsp4bazel-rules//:bsp_target.bzl", "bsp_target")

scala_binary(
name = "main_run",
main_class = "example.Main",
visibility = ["//visibility:public"],
deps = ["//src/example"],
)

bsp_target(
name = "src_bsp",
target = ":main_run",
)

6 changes: 0 additions & 6 deletions examples/simple-with-errors/src/example/foo/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
load("@io_bazel_rules_scala//scala:scala.bzl", "scala_library")
load("@bsp4bazel-rules//:bsp_target.bzl", "bsp_target")

scala_library(
name = "foo",
srcs = glob(["*.scala"]),
visibility = ["//visibility:public"],
)

bsp_target(
name = "foo_bsp",
target = ":foo",
)
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ case class BspTaskRunner(workspaceRoot: Path, runner: BazelRunner):
bazelLabel,
(
"--aspects",
"@bsp4bazel-rules//private:bsp_target_info_aspect.bzl%bsp_target_info_aspect"
"@bsp4bazel-rules//:bsp_target_info_aspect.bzl%bsp_target_info_aspect"
),
("--output_groups", "bsp_output")
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ class BazelRunnerTest extends munit.CatsEffectSuite:
List(
"//src/example:example",
"//src/example/foo:foo",
"//src/example/foo:foo_bsp"
)
)
}
Expand Down

0 comments on commit be34a02

Please sign in to comment.