Codebase list rust-stfu8 / e6acfe10-c475-43e0-9797-5e1374397d69/main dev / list-binpkgs.sh
e6acfe10-c475-43e0-9797-5e1374397d69/main

Tree @e6acfe10-c475-43e0-9797-5e1374397d69/main (Download .tar.gz)

list-binpkgs.sh @e6acfe10-c475-43e0-9797-5e1374397d69/main

c8c9b58
 
 
 
 
 
 
1
2
3
4
5
6
7
#!/bin/sh
# List all packages that produce rust binaries, from this repo.
grep -l "\[packages.bin\]" src/*/debian/debcargo.toml \
  | cut -d/ -f2 \
  | sed -e 's/^/rust-/g' \
  | tr '\n' ',' \
  | sed -e 's/,$/\n/'