Blame SOURCES/make-vendored-tarfile.sh

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