aboutsummaryrefslogtreecommitdiff
path: root/toolchains
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2018-01-28 18:40:54 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2018-01-28 18:40:54 +0100
commit81f26d944027fc9f6bb26d5009d3142b841e6cd2 (patch)
tree2bd959f169a1ed27a225e72dccc9fb40f74b4636 /toolchains
parentc84bbfbbd30b51a35fc7d0e6ca32a51ed920b2fc (diff)
Add Bazel build files.
Diffstat (limited to 'toolchains')
-rw-r--r--toolchains/BUILD14
1 files changed, 14 insertions, 0 deletions
diff --git a/toolchains/BUILD b/toolchains/BUILD
new file mode 100644
index 0000000..3bf326f
--- /dev/null
+++ b/toolchains/BUILD
@@ -0,0 +1,14 @@
+load("@io_bazel_rules_scala//scala:scala_toolchain.bzl", "scala_toolchain")
+
+scala_toolchain(
+ name = "toolchain_impl",
+ scalacopts = ["-Ywarn-unused"],
+ visibility = ["//visibility:public"]
+)
+
+toolchain(
+ name = "scala_toolchain",
+ toolchain_type = "@io_bazel_rules_scala//scala:toolchain_type",
+ toolchain = "toolchain_impl",
+ visibility = ["//visibility:public"]
+)