mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 08:23:24 +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 "Install nushell from local..."
|
||||||
Write-Output "----------------------------------------------"
|
Write-Output "----------------------------------------------"
|
||||||
cargo install --path . --features=dataframe
|
cargo install --force --path . --features=dataframe
|
||||||
|
|
||||||
$NU_PLUGINS = @(
|
$NU_PLUGINS = @(
|
||||||
'nu_plugin_example',
|
'nu_plugin_example',
|
||||||
@ -25,7 +25,7 @@ foreach ( $plugin in $NU_PLUGINS) {
|
|||||||
Write-Output "Install plugin $plugin from local..."
|
Write-Output "Install plugin $plugin from local..."
|
||||||
Write-Output "----------------------------------------------"
|
Write-Output "----------------------------------------------"
|
||||||
Set-Location crates/$plugin
|
Set-Location crates/$plugin
|
||||||
cargo install --path .
|
cargo install --force --path .
|
||||||
Set-Location ../../
|
Set-Location ../../
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ echo ""
|
|||||||
|
|
||||||
echo "Install nushell from local..."
|
echo "Install nushell from local..."
|
||||||
echo "----------------------------------------------"
|
echo "----------------------------------------------"
|
||||||
cargo install --path . --features=dataframe
|
cargo install --force --path . --features=dataframe
|
||||||
|
|
||||||
NU_PLUGINS=(
|
NU_PLUGINS=(
|
||||||
'nu_plugin_inc'
|
'nu_plugin_inc'
|
||||||
@ -26,5 +26,5 @@ do
|
|||||||
echo "----------------------------------------------"
|
echo "----------------------------------------------"
|
||||||
echo "Install plugin $plugin from local..."
|
echo "Install plugin $plugin from local..."
|
||||||
echo "----------------------------------------------"
|
echo "----------------------------------------------"
|
||||||
cd crates/"$plugin" && cargo install --path . && cd ../../
|
cd crates/"$plugin" && cargo install --force --path . && cd ../../
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user