forked from nushell/nushell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall-all.ps1
29 lines (23 loc) · 921 Bytes
/
install-all.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 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 ../../
}