2022-03-05 12:41:28 +01:00
|
|
|
|
|
|
|
# Usage: Just run `powershell install-all.ps1` in nushell root directory
|
|
|
|
|
|
|
|
Write-Output "-----------------------------------------------------------------"
|
2022-11-23 01:58:11 +01:00
|
|
|
Write-Output "Installing nushell (nu) with dataframes and all the plugins"
|
2022-03-05 12:41:28 +01:00
|
|
|
Write-Output "-----------------------------------------------------------------"
|
|
|
|
Write-Output ""
|
|
|
|
|
|
|
|
Write-Output "Install nushell from local..."
|
|
|
|
Write-Output "----------------------------------------------"
|
2023-02-24 18:54:19 +01:00
|
|
|
cargo install --force --path . --features=dataframe
|
2022-03-05 12:41:28 +01:00
|
|
|
|
2022-08-11 16:40:35 +02:00
|
|
|
$NU_PLUGINS = @(
|
2022-03-05 12:41:28 +01:00
|
|
|
'nu_plugin_example',
|
|
|
|
'nu_plugin_gstat',
|
|
|
|
'nu_plugin_inc',
|
2022-08-11 16:40:35 +02:00
|
|
|
'nu_plugin_query',
|
2023-02-13 13:42:08 +01:00
|
|
|
'nu_plugin_custom_values',
|
|
|
|
'nu_plugin_formats'
|
2022-03-05 12:41:28 +01:00
|
|
|
)
|
|
|
|
|
2022-08-11 16:40:35 +02:00
|
|
|
foreach ( $plugin in $NU_PLUGINS) {
|
2022-03-05 12:41:28 +01:00
|
|
|
Write-Output ''
|
|
|
|
Write-Output "----------------------------------------------"
|
|
|
|
Write-Output "Install plugin $plugin from local..."
|
|
|
|
Write-Output "----------------------------------------------"
|
|
|
|
Set-Location crates/$plugin
|
2023-02-24 18:54:19 +01:00
|
|
|
cargo install --force --path .
|
2022-03-05 12:41:28 +01:00
|
|
|
Set-Location ../../
|
|
|
|
}
|
|
|
|
|