update build scripts (#6296)

This commit is contained in:
Darren Schroeder 2022-08-11 09:40:35 -05:00 committed by GitHub
parent 8d091f6f83
commit 08c98967e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 4 deletions

View file

@ -10,6 +10,7 @@ NU_PLUGINS=(
'nu_plugin_gstat'
'nu_plugin_inc'
'nu_plugin_query'
'nu_plugin_custom_values'
)
echo "Building nushell"

View file

@ -24,9 +24,13 @@ cargo build
@echo.
@cd ..\..\crates\nu_plugin_query
echo Building nu_plugin_query.exe
cargo build
@echo.
@cd ..\..\crates\nu_plugin_custom_values
echo Building nu_plugin_custom_values.exe
cargo build
@echo.
@cd ..\..

View file

@ -11,6 +11,7 @@ let plugins = [
nu_plugin_gstat,
nu_plugin_query,
nu_plugin_example,
nu_plugin_custom_values,
]
for plugin in $plugins {

View file

@ -10,14 +10,15 @@ Write-Output "Install nushell from local..."
Write-Output "----------------------------------------------"
cargo install --path . --features=extra
$NU_PLUGINS=@(
$NU_PLUGINS = @(
'nu_plugin_example',
'nu_plugin_gstat',
'nu_plugin_inc',
'nu_plugin_query'
'nu_plugin_query',
'nu_plugin_custom_values'
)
foreach( $plugin in $NU_PLUGINS) {
foreach ( $plugin in $NU_PLUGINS) {
Write-Output ''
Write-Output "----------------------------------------------"
Write-Output "Install plugin $plugin from local..."

View file

@ -16,6 +16,7 @@ NU_PLUGINS=(
'nu_plugin_gstat'
'nu_plugin_query'
'nu_plugin_example'
'nu_plugin_custom_values'
)
for plugin in "${NU_PLUGINS[@]}"