You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
329 B
15 lines
329 B
#/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/
|