mirror of
https://github.com/OMGeeky/tarpc.git
synced 2025-12-26 17:02:32 +01:00
--color=always has to be after the command
This commit is contained in:
@@ -77,10 +77,10 @@ run_cargo() {
|
||||
if [ "$2" != "" ]; then
|
||||
printf "${PREFIX} $VERB on $2... "
|
||||
if [ "$2" != "nightly" ]; then
|
||||
try_run rustup run $2 cargo --color=always $1
|
||||
try_run rustup run $2 cargo $1 --color=always
|
||||
else
|
||||
try_run rustup run nightly cargo --color=always $1 --features unstable
|
||||
try_run rustup run nightly cargo --color=always $1 --features unstable,tls
|
||||
try_run rustup run nightly cargo $1 --color=always --features unstable
|
||||
try_run rustup run nightly cargo $1 --color=always --features unstable,tls
|
||||
fi
|
||||
else
|
||||
printf "${PREFIX} $VERB... "
|
||||
|
||||
Reference in New Issue
Block a user