mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 11:07:44 +00:00
maint/polish ~ (util) shfmt -w -i=4 -ci
This commit is contained in:
parent
3a13857dc3
commit
fdd11e0637
4 changed files with 23 additions and 20 deletions
|
@ -3,11 +3,12 @@ set -e
|
|||
|
||||
ARG=""
|
||||
if test "$1" != "--do-it"; then
|
||||
ARG="--dry-run --allow-dirty"
|
||||
ARG="--dry-run --allow-dirty"
|
||||
fi
|
||||
|
||||
for dir in src/uucore/ src/uucore_procs/ src/uu/stdbuf/src/libstdbuf/ ; do
|
||||
( cd "$dir"
|
||||
for dir in src/uucore/ src/uucore_procs/ src/uu/stdbuf/src/libstdbuf/; do
|
||||
(
|
||||
cd "$dir"
|
||||
#shellcheck disable=SC2086
|
||||
cargo publish $ARG
|
||||
)
|
||||
|
@ -16,7 +17,8 @@ done
|
|||
|
||||
PROGS=$(ls -1d src/uu/*/)
|
||||
for p in $PROGS; do
|
||||
( cd "$p"
|
||||
(
|
||||
cd "$p"
|
||||
#shellcheck disable=SC2086
|
||||
cargo publish $ARG
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue