7ea0c05a4d
Resolves: rhbz#2075576 Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
15 lines
329 B
Bash
15 lines
329 B
Bash
#/bin/bash
|
|
set -x
|
|
ver=$1
|
|
cargo vendor
|
|
# Various vendor cleanups
|
|
pushd vendor
|
|
# cleanup windows files
|
|
rm -rf winapi/src/*
|
|
touch winapi/src/lib.rs
|
|
rm -rf winapi-x86_64-pc-windows-gnu/lib/*
|
|
rm -rf winapi-i686-pc-windows-gnu/lib/*
|
|
rm -rf vcpkg/test-data
|
|
popd #vendor
|
|
tar cjf fido-device-onboard-rs-$ver-vendor-patched.tar.xz vendor/
|