Codebase list rust-stfu8 / c8c9b58
add script for listing packages with rust binaries Ximin Luo 3 years ago
1 changed file(s) with 7 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 #!/bin/sh
1 # List all packages that produce rust binaries, from this repo.
2 grep -l "\[packages.bin\]" src/*/debian/debcargo.toml \
3 | cut -d/ -f2 \
4 | sed -e 's/^/rust-/g' \
5 | tr '\n' ',' \
6 | sed -e 's/,$/\n/'