mirror of
https://github.com/nushell/nushell.git
synced 2024-11-24 17:34:00 +01:00
Force install in install-all
scripts (#8194)
Otherwise, one has to remove old installations manually
This commit is contained in:
parent
4dd9d0d46b
commit
85bfdca578
@ -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 ../../
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user