Only exe extension for windows
This commit is contained in:
parent
cbc9826db7
commit
93b4fa6fc7
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user