Blame SOURCES/make-vendored-tarfile.sh

34862c
#/bin/bash
34862c
set -x
34862c
ver=$1
34862c
cargo vendor
34862c
# Various vendor cleanups
34862c
pushd vendor
34862c
# cleanup windows files
34862c
rm -rf winapi/src/*
34862c
touch winapi/src/lib.rs
34862c
rm -rf winapi-x86_64-pc-windows-gnu/lib/*
34862c
rm -rf winapi-i686-pc-windows-gnu/lib/*
34862c
rm -rf vcpkg/test-data
34862c
popd #vendor
34862c
tar cjf fido-device-onboard-rs-$ver-vendor-patched.tar.xz vendor/