Only exe extension for windows

This commit is contained in:
Deanna Garcia 2022-02-28 19:54:14 +00:00
parent cbc9826db7
commit 93b4fa6fc7

View File

@ -28,13 +28,16 @@ all_compile_actions = [
]
def _impl(ctx):
artifact_name_patterns = [
artifact_name_pattern(
category_name = "executable",
prefix = "",
extension = ".exe",
),
]
if 'mingw' in ctx.attr.target_full_name:
artifact_name_patterns = [
artifact_name_pattern(
category_name = "executable",
prefix = "",
extension = ".exe",
),
]
else:
artifact_name_patterns = []
tool_paths = [
tool_path(