2022-03-04 14:00:11 +00:00
|
|
|
@echo off
|
2023-05-04 17:23:33 +00:00
|
|
|
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
|
2024-03-10 16:29:02 +00:00
|
|
|
cargo build --features=dataframe --locked
|
2023-05-04 17:23:33 +00:00
|
|
|
echo.
|
2022-03-04 14:00:11 +00:00
|
|
|
|
2023-05-04 17:23:33 +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
|
|
|
|
2023-05-04 17:23:33 +00:00
|
|
|
cd ..\..
|
|
|
|
exit /b 0
|
2022-03-04 14:00:11 +00:00
|
|
|
|
2023-05-04 17:23:33 +00:00
|
|
|
:build
|
|
|
|
setlocal
|
|
|
|
set "location=%~1"
|
|
|
|
set "target=%~2"
|
2022-03-04 14:00:11 +00:00
|
|
|
|
2023-05-04 17:23:33 +00:00
|
|
|
cd "%location%"
|
|
|
|
echo Building %target%
|
|
|
|
cargo build
|
|
|
|
echo.
|
|
|
|
endlocal
|
|
|
|
exit /b 0
|