forked from extern/nushell
update build scripts (#6296)
This commit is contained in:
parent
8d091f6f83
commit
08c98967e0
@ -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"
|
||||||
|
@ -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 ..\..
|
@ -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 {
|
||||||
|
@ -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..."
|
||||||
|
@ -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[@]}"
|
||||||
|
Loading…
Reference in New Issue
Block a user