nushell/build-all-maclin.sh

25 lines
594 B
Bash
Raw Normal View History

2022-03-04 23:17:33 +01:00
#!/bin/sh
echo "---------------------------------------------------------------"
echo "Building nushell (nu) with --features=extra and all the plugins"
echo "---------------------------------------------------------------"
2022-03-04 23:17:33 +01:00
echo ""
NU_PLUGINS=(
'nu_plugin_example'
'nu_plugin_gstat'
'nu_plugin_inc'
'nu_plugin_query'
2022-08-11 16:40:35 +02:00
'nu_plugin_custom_values'
)
echo "Building nushell"
2022-03-04 23:17:33 +01:00
cargo build --features=extra
for plugin in "${NU_PLUGINS[@]}"
do
echo '' && cd crates/$plugin
echo "Building $plugin..."
echo "-----------------------------"
cargo build && cd ../..
done