File: update-crates-patch

package info (click to toggle)
pdns-recursor 5.2.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,772 kB
  • sloc: cpp: 105,525; javascript: 20,651; python: 5,620; sh: 4,876; makefile: 774; ansic: 575; xml: 37
file content (19 lines) | stat: -rwxr-xr-x 525 bytes parent folder | download
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