mirror of
https://github.com/uutils/coreutils
synced 2024-12-15 15:52:42 +00:00
24 lines
306 B
Bash
Executable file
24 lines
306 B
Bash
Executable file
#!/bin/bash
|
|
set -e
|
|
|
|
ARG=""
|
|
if test "$1" != "--do-it"; then
|
|
ARG="--dry-run --allow-dirty"
|
|
fi
|
|
|
|
cd src/uucore/
|
|
cargo publish $ARG
|
|
cd -
|
|
|
|
cd src/uu/stdbuf/src/libstdbuf/
|
|
cargo publish $ARG
|
|
cd -
|
|
|
|
PROGS=$(ls -1d src/uu/*/)
|
|
for p in $PROGS; do
|
|
cd $p
|
|
cargo publish $ARG
|
|
cd -
|
|
done
|
|
|
|
cargo publish $ARG
|