add rga-preproc to deploy

This commit is contained in:
phiresky 2019-06-15 10:20:10 +02:00
parent 0c31671e5e
commit 33187299e7
2 changed files with 5 additions and 3 deletions

1
ci/README.md Normal file
View File

@ -0,0 +1 @@
everything in here shamelessly copied from ripgrep itself

View File

@ -29,9 +29,10 @@ mk_tarball() {
# contains shell completion files and the man page.
local cargo_out_dir="$(cargo_out_dir "target/$TARGET")"
# Copy the ripgrep binary and strip it.
cp "target/$TARGET/release/rga" "$staging/rga"
"${gcc_prefix}strip" "$staging/rga"
# 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"
# Copy the licenses and README.
cp {README.md,LICENSE.md} "$staging/"
# Copy documentation and man page.