2022-03-04 15:00:11 +01:00
|
|
|
@echo off
|
2023-05-04 19:23:33 +02:00
|
|
|
echo -------------------------------------------------------------------
|
|
|
|
echo Building nushell (nu.exe) with dataframes and all the plugins
|
|
|
|
echo -------------------------------------------------------------------
|
|
|
|
echo.
|
2022-03-04 15:00:11 +01:00
|
|
|
|
|
|
|
echo Building nushell.exe
|
2023-08-21 19:42:42 +02:00
|
|
|
cargo build --features=dataframe,extra --locked
|
2023-05-04 19:23:33 +02:00
|
|
|
echo.
|
2022-03-04 15:00:11 +01:00
|
|
|
|
2023-05-04 19:23:33 +02: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 15:00:11 +01:00
|
|
|
|
2023-05-04 19:23:33 +02:00
|
|
|
cd ..\..
|
|
|
|
exit /b 0
|
2022-03-04 15:00:11 +01:00
|
|
|
|
2023-05-04 19:23:33 +02:00
|
|
|
:build
|
|
|
|
setlocal
|
|
|
|
set "location=%~1"
|
|
|
|
set "target=%~2"
|
2022-03-04 15:00:11 +01:00
|
|
|
|
2023-05-04 19:23:33 +02:00
|
|
|
cd "%location%"
|
|
|
|
echo Building %target%
|
|
|
|
cargo build
|
|
|
|
echo.
|
|
|
|
endlocal
|
|
|
|
exit /b 0
|