1
Fork 0
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:
Roy Ivy III 2022-02-06 16:58:50 -06:00
parent 3a13857dc3
commit fdd11e0637
4 changed files with 23 additions and 20 deletions

View file

@ -32,7 +32,8 @@ export RUSTFLAGS="-Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Co
export RUSTDOCFLAGS="-Cpanic=abort" export RUSTDOCFLAGS="-Cpanic=abort"
export RUSTUP_TOOLCHAIN="nightly-gnu" export RUSTUP_TOOLCHAIN="nightly-gnu"
#shellcheck disable=SC2086 #shellcheck disable=SC2086
{ cargo build ${FEATURES_OPTION} {
cargo build ${FEATURES_OPTION}
cargo test --no-run ${FEATURES_OPTION} cargo test --no-run ${FEATURES_OPTION}
cargo test --quiet ${FEATURES_OPTION} cargo test --quiet ${FEATURES_OPTION}
cargo test --quiet ${FEATURES_OPTION} ${CARGO_INDIVIDUAL_PACKAGE_OPTIONS} cargo test --quiet ${FEATURES_OPTION} ${CARGO_INDIVIDUAL_PACKAGE_OPTIONS}

View file

@ -7,7 +7,8 @@ if test "$1" != "--do-it"; then
fi fi
for dir in src/uucore/ src/uucore_procs/ src/uu/stdbuf/src/libstdbuf/; do for dir in src/uucore/ src/uucore_procs/ src/uu/stdbuf/src/libstdbuf/; do
( cd "$dir" (
cd "$dir"
#shellcheck disable=SC2086 #shellcheck disable=SC2086
cargo publish $ARG cargo publish $ARG
) )
@ -16,7 +17,8 @@ done
PROGS=$(ls -1d src/uu/*/) PROGS=$(ls -1d src/uu/*/)
for p in $PROGS; do for p in $PROGS; do
( cd "$p" (
cd "$p"
#shellcheck disable=SC2086 #shellcheck disable=SC2086
cargo publish $ARG cargo publish $ARG
) )

View file

@ -12,4 +12,4 @@ if ! "${ME_dir}/build-code_coverage.sh"; then exit 1 ; fi
case ";$OSID_tags;" in case ";$OSID_tags;" in
*";wsl;"*) powershell.exe -c "$(wslpath -w "${COVERAGE_REPORT_DIR}"/index.html)" ;; *";wsl;"*) powershell.exe -c "$(wslpath -w "${COVERAGE_REPORT_DIR}"/index.html)" ;;
*) xdg-open --version >/dev/null 2>&1 && xdg-open "${COVERAGE_REPORT_DIR}"/index.html || echo "report available at '\"${COVERAGE_REPORT_DIR}\"/index.html'" ;; *) xdg-open --version >/dev/null 2>&1 && xdg-open "${COVERAGE_REPORT_DIR}"/index.html || echo "report available at '\"${COVERAGE_REPORT_DIR}\"/index.html'" ;;
esac ; esac