Force install in install-all scripts (#8194)

Otherwise, one has to remove old installations manually
This commit is contained in:
Hofer-Julian 2023-02-24 18:54:19 +01:00 committed by GitHub
parent 4dd9d0d46b
commit 85bfdca578
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@ Write-Output ""
Write-Output "Install nushell from local..."
Write-Output "----------------------------------------------"
cargo install --path . --features=dataframe
cargo install --force --path . --features=dataframe
$NU_PLUGINS = @(
'nu_plugin_example',
@ -25,7 +25,7 @@ foreach ( $plugin in $NU_PLUGINS) {
Write-Output "Install plugin $plugin from local..."
Write-Output "----------------------------------------------"
Set-Location crates/$plugin
cargo install --path .
cargo install --force --path .
Set-Location ../../
}

View File

@ -9,7 +9,7 @@ echo ""
echo "Install nushell from local..."
echo "----------------------------------------------"
cargo install --path . --features=dataframe
cargo install --force --path . --features=dataframe
NU_PLUGINS=(
'nu_plugin_inc'
@ -26,5 +26,5 @@ do
echo "----------------------------------------------"
echo "Install plugin $plugin from local..."
echo "----------------------------------------------"
cd crates/"$plugin" && cargo install --path . && cd ../../
cd crates/"$plugin" && cargo install --force --path . && cd ../../
done