Skip to content

Commit

Permalink
deploy: Use .exe extension for release binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum committed Apr 24, 2023
1 parent 854f59a commit ead496e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ pkg_tar(
mode = "0777",
remap_paths = {
"src/main/java/com/code_intelligence/jazzer/jazzer_standalone_deploy.jar": "jazzer_standalone.jar",
"launcher/jazzer": "jazzer",
},
} | select({
"@platforms//os:windows": {"launcher/jazzer": "jazzer.exe"},
"//conditions:default": {"launcher/jazzer": "jazzer"},
}),
strip_prefix = select({
"@platforms//os:windows": ".\\",
"//conditions:default": "./",
Expand Down
2 changes: 1 addition & 1 deletion launcher/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ cc_binary(
)

# On macOS, builds a binary that supports both x86_64 and arm64.
# On all other platforms, is just symlinks the input binary.
# On all other platforms, it just symlinks the input binary.
universal_binary(
name = "jazzer",
binary = ":jazzer_single_arch",
Expand Down

0 comments on commit ead496e

Please sign in to comment.