mirror of
https://github.com/enso-org/enso.git
synced 2024-11-29 17:22:57 +03:00
23 lines
749 B
Python
23 lines
749 B
Python
## Discover dependencies via
|
|
## > bazel build <target> --extra_toolchains=//:plus_one_strict_deps_filter
|
|
load("@io_bazel_rules_scala//scala:scala_toolchain.bzl", "scala_toolchain")
|
|
|
|
scala_toolchain(
|
|
name = "enso_toolchain_impl",
|
|
scalacopts = ["-Ywarn-unused"],
|
|
scalac_jvm_flags = [
|
|
"-Djava.security.manager=allow",
|
|
],
|
|
## Allows for easier discovery of missing dependencies
|
|
## dependency_mode = "plus-one",
|
|
## dependency_tracking_method = "ast",
|
|
## strict_deps_mode = "error",
|
|
visibility = ["//visibility:public"]
|
|
)
|
|
|
|
toolchain(
|
|
name = "enso_toolchain",
|
|
toolchain_type = "@io_bazel_rules_scala//scala:toolchain_type",
|
|
toolchain = "enso_toolchain_impl",
|
|
visibility = ["//visibility:public"]
|
|
) |