mirror of
https://github.com/uutils/coreutils
synced 2024-11-16 09:48:03 +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
|