mirror of
https://github.com/uutils/coreutils
synced 2024-12-13 23:02:38 +00:00
28 lines
468 B
Bash
Executable file
28 lines
468 B
Bash
Executable file
#!/bin/sh
|
|
set -e
|
|
|
|
ARG=""
|
|
if test "$1" != "--do-it"; then
|
|
ARG="--dry-run --allow-dirty"
|
|
fi
|
|
|
|
for dir in src/uucore/ src/uucore_procs/ src/uu/stdbuf/src/libstdbuf/; do
|
|
(
|
|
cd "$dir"
|
|
#shellcheck disable=SC2086
|
|
cargo publish $ARG
|
|
)
|
|
sleep 2s
|
|
done
|
|
|
|
PROGS=$(ls -1d src/uu/*/)
|
|
for p in $PROGS; do
|
|
(
|
|
cd "$p"
|
|
#shellcheck disable=SC2086
|
|
cargo publish $ARG
|
|
)
|
|
done
|
|
|
|
#shellcheck disable=SC2086
|
|
cargo publish $ARG
|