aboutsummaryrefslogtreecommitdiff
path: root/toolchains
diff options
context:
space:
mode:
authorc-parsons <cparsons@google.com>2019-01-18 16:55:49 -0500
committerGitHub <noreply@github.com>2019-01-18 16:55:49 -0500
commit5dccaa145e6f290c6a0f371d44466a7176f4cdb1 (patch)
tree119fa2b1d3a536ba2f0a9d2fcb287b6b7a7c2552 /toolchains
parentc41adf3888c8a5503e717da493a52a481f6691d6 (diff)
downloadbazel-skylib-5dccaa145e6f290c6a0f371d44466a7176f4cdb1.tar.gz
reorder toolchain targets to help clarity (#95)
Diffstat (limited to 'toolchains')
-rw-r--r--toolchains/unittest/BUILD18
1 files changed, 9 insertions, 9 deletions
diff --git a/toolchains/unittest/BUILD b/toolchains/unittest/BUILD
index fbe3879..0dfd303 100644
--- a/toolchains/unittest/BUILD
+++ b/toolchains/unittest/BUILD
@@ -19,6 +19,15 @@ exit /b 1
visibility = ["//visibility:public"],
)
+toolchain(
+ name = "cmd_toolchain",
+ exec_compatible_with = [
+ "@bazel_tools//platforms:windows",
+ ],
+ toolchain = ":cmd",
+ toolchain_type = TOOLCHAIN_TYPE,
+)
+
unittest_toolchain(
name = "bash",
failure_templ = """#!/bin/sh
@@ -34,15 +43,6 @@ exit 1
)
toolchain(
- name = "cmd_toolchain",
- exec_compatible_with = [
- "@bazel_tools//platforms:windows",
- ],
- toolchain = ":cmd",
- toolchain_type = TOOLCHAIN_TYPE,
-)
-
-toolchain(
name = "bash_toolchain",
toolchain = ":bash",
toolchain_type = TOOLCHAIN_TYPE,