add windows build script (#4720)

This commit is contained in:
Darren Schroeder 2022-03-04 08:00:11 -06:00 committed by GitHub
parent 7c205d7a3a
commit 89b7f4d57c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

32
build-all-windows.cmd Normal file
View file

@ -0,0 +1,32 @@
@echo off
@echo -------------------------------------------------------------------
@echo Building nushell (nu.exe) with --features=extra and all the plugins
@echo -------------------------------------------------------------------
@echo.
echo Building nushell.exe
cargo build --features=extra
@echo.
@cd crates\nu_plugin_example
echo Building nu_plugin_example.exe
cargo build
@echo.
@cd ..\..\crates\nu_plugin_gstat
echo Building nu_plugin_gstat.exe
cargo build
@echo.
@cd ..\..\crates\nu_plugin_inc
echo Building nu_plugin_inc.exe
cargo build
@echo.
@cd ..\..\crates\nu_plugin_query
echo Building nu_plugin_query.exe
cargo build
@echo.
@cd ..\..