blob: c669d416eb56069e86f4afc2257ff80e6790956d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
#!/usr/bin/env bash
set -e
# cargo install cargo-lock --features cli
# make clean extract
cargo-lock --file "$(make -V WRKSRC)/Cargo.lock" \
| grep -vE "(cln-rpc|cln-grpc|clnrest|grpc-plugin|rest-plugin)" \
| sed -E 's/^- ([^ ]+) (.+)$/CARGO_CRATES+=\t\1-\2/g' > ../../Makefile.crates
|