nushell/build-all-windows.cmd

31 lines
793 B
Batchfile
Raw Normal View History

2022-03-04 14:00:11 +00:00
@echo off
echo -------------------------------------------------------------------
echo Building nushell (nu.exe) with dataframes and all the plugins
echo -------------------------------------------------------------------
echo.
2022-03-04 14:00:11 +00:00
echo Building nushell.exe
cargo build --features=dataframe
echo.
2022-03-04 14:00:11 +00:00
call :build crates\nu_plugin_example nu_plugin_example.exe
call :build ..\..\crates\nu_plugin_gstat nu_plugin_gstat.exe
call :build ..\..\crates\nu_plugin_inc nu_plugin_inc.exe
call :build ..\..\crates\nu_plugin_query nu_plugin_query.exe
call :build ..\..\crates\nu_plugin_custom_values nu_plugin_custom_values.exe
2022-03-04 14:00:11 +00:00
cd ..\..
exit /b 0
2022-03-04 14:00:11 +00:00
:build
setlocal
set "location=%~1"
set "target=%~2"
2022-03-04 14:00:11 +00:00
cd "%location%"
echo Building %target%
cargo build
echo.
endlocal
exit /b 0