File: update-crates-patch

package info (click to toggle)
pdns-recursor 5.3.4-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 11,116 kB
  • sloc: cpp: 109,672; javascript: 20,651; python: 5,657; sh: 5,114; makefile: 782; ansic: 582; xml: 37
file content (19 lines) | stat: -rwxr-xr-x 525 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
set -euxo pipefail
test -d .git
gbp pq import --force
git reset --hard HEAD^
cd settings/rust
cargo vendor
test -d vendor
find ./vendor/windows*/src/ ! -name 'lib.rs' -type f -exec rm -f {} +
find ./vendor/winapi*/src/ ! -name 'lib.rs' -type f -exec rm -f {} +
rm -fr ./vendor/windows*/lib/*.a
rm -fr ./vendor/winapi*/lib/*.a
rm -fr ./vendor/winapi*/lib/*.lib
rm -fr ./vendor/windows*/lib/*.lib
git add -f .
git commit -m 'Vendor rust crates' -m 'Gbp-Pq: Name cargo-vendor-crates'
du -sxh ./vendor
gbp pq export