mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-08 22:28:12 -05:00
13 lines
267 B
Bash
Executable File
13 lines
267 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
toplevel="$(git rev-parse --show-toplevel)"
|
|
dirs="$(grep '"bin/' "$toplevel/Cargo.toml" | grep -v '#' | tr -d '", \t')"
|
|
|
|
bins=""
|
|
for i in $dirs; do
|
|
bins="$bins $(grep '^name = ' "$i/Cargo.toml" | cut -d' ' -f3 | tr -d '"')"
|
|
done
|
|
|
|
make BINS="$bins"
|