build script for mac and linux (#4732)

This commit is contained in:
Darren Schroeder 2022-03-04 16:17:33 -06:00 committed by GitHub
parent 5b3cc73ac6
commit cd721fc363
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

32
build-all-maclin.sh Executable file
View File

@ -0,0 +1,32 @@
#!/bin/sh
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 ../..