mirror of
https://github.com/nushell/nushell
synced 2024-11-10 15:14:14 +00:00
update build scripts (#6296)
This commit is contained in:
parent
8d091f6f83
commit
08c98967e0
5 changed files with 12 additions and 4 deletions
|
@ -10,6 +10,7 @@ NU_PLUGINS=(
|
|||
'nu_plugin_gstat'
|
||||
'nu_plugin_inc'
|
||||
'nu_plugin_query'
|
||||
'nu_plugin_custom_values'
|
||||
)
|
||||
|
||||
echo "Building nushell"
|
||||
|
|
|
@ -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 ..\..
|
|
@ -11,6 +11,7 @@ let plugins = [
|
|||
nu_plugin_gstat,
|
||||
nu_plugin_query,
|
||||
nu_plugin_example,
|
||||
nu_plugin_custom_values,
|
||||
]
|
||||
|
||||
for plugin in $plugins {
|
||||
|
|
|
@ -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..."
|
||||
|
|
|
@ -16,6 +16,7 @@ NU_PLUGINS=(
|
|||
'nu_plugin_gstat'
|
||||
'nu_plugin_query'
|
||||
'nu_plugin_example'
|
||||
'nu_plugin_custom_values'
|
||||
)
|
||||
|
||||
for plugin in "${NU_PLUGINS[@]}"
|
||||
|
|
Loading…
Reference in a new issue