mirror of
https://github.com/FliegendeWurst/ripgrep-all.git
synced 2024-11-24 12:24:56 +00:00
windows binaries are .exe
This commit is contained in:
parent
9b552178f7
commit
57115923af
@ -29,10 +29,15 @@ mk_tarball() {
|
||||
# contains shell completion files and the man page.
|
||||
local cargo_out_dir="$(cargo_out_dir "target/$TARGET")"
|
||||
|
||||
bin_ext=""
|
||||
if is_windows; then
|
||||
bin_ext=".exe"
|
||||
fi
|
||||
|
||||
# Copy the binaries and strip it.
|
||||
for binary in rga rga-preproc; do
|
||||
cp "target/$TARGET/release/$binary" "$staging/$binary"
|
||||
"${gcc_prefix}strip" "$staging/$binary"
|
||||
cp "target/$TARGET/release/$binary$bin_ext" "$staging/$binary$bin_ext"
|
||||
# "${gcc_prefix}strip" "$staging/$binary"
|
||||
done
|
||||
# Copy the licenses and README.
|
||||
cp {README.md,LICENSE.md} "$staging/"
|
||||
|
Loading…
Reference in New Issue
Block a user