mirror of
https://github.com/nushell/nushell
synced 2024-11-14 00:47:09 +00:00
6a1e504a50
* Update build & install sh scripts, add install script for windows * Rename install scripts [ci skip]
29 lines
921 B
PowerShell
29 lines
921 B
PowerShell
|
|
# Usage: Just run `powershell install-all.ps1` in nushell root directory
|
|
|
|
Write-Output "-----------------------------------------------------------------"
|
|
Write-Output "Installing nushell (nu) with --features=extra and all the plugins"
|
|
Write-Output "-----------------------------------------------------------------"
|
|
Write-Output ""
|
|
|
|
Write-Output "Install nushell from local..."
|
|
Write-Output "----------------------------------------------"
|
|
cargo install --path . --features=extra
|
|
|
|
$NU_PLUGINS=@(
|
|
'nu_plugin_example',
|
|
'nu_plugin_gstat',
|
|
'nu_plugin_inc',
|
|
'nu_plugin_query'
|
|
)
|
|
|
|
foreach( $plugin in $NU_PLUGINS) {
|
|
Write-Output ''
|
|
Write-Output "----------------------------------------------"
|
|
Write-Output "Install plugin $plugin from local..."
|
|
Write-Output "----------------------------------------------"
|
|
Set-Location crates/$plugin
|
|
cargo install --path .
|
|
Set-Location ../../
|
|
}
|
|
|