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_gstat'
'nu_plugin_inc' 'nu_plugin_inc'
'nu_plugin_query' 'nu_plugin_query'
'nu_plugin_custom_values'
) )
echo "Building nushell" echo "Building nushell"

View File

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

View File

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

View File

@ -10,14 +10,15 @@ Write-Output "Install nushell from local..."
Write-Output "----------------------------------------------" Write-Output "----------------------------------------------"
cargo install --path . --features=extra cargo install --path . --features=extra
$NU_PLUGINS=@( $NU_PLUGINS = @(
'nu_plugin_example', 'nu_plugin_example',
'nu_plugin_gstat', 'nu_plugin_gstat',
'nu_plugin_inc', '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 "----------------------------------------------" Write-Output "----------------------------------------------"
Write-Output "Install plugin $plugin from local..." Write-Output "Install plugin $plugin from local..."

View File

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