2022-03-04 22:17:33 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2022-03-05 05:10:33 +00:00
|
|
|
echo "---------------------------------------------------------------"
|
|
|
|
echo "Building nushell (nu) with --features=extra and all the plugins"
|
|
|
|
echo "---------------------------------------------------------------"
|
2022-03-04 22:17:33 +00:00
|
|
|
echo ""
|
|
|
|
|
2022-03-05 11:41:28 +00:00
|
|
|
NU_PLUGINS=(
|
|
|
|
'nu_plugin_example'
|
|
|
|
'nu_plugin_gstat'
|
|
|
|
'nu_plugin_inc'
|
|
|
|
'nu_plugin_query'
|
|
|
|
)
|
|
|
|
|
2022-03-05 05:10:33 +00:00
|
|
|
echo "Building nushell"
|
2022-03-04 22:17:33 +00:00
|
|
|
cargo build --features=extra
|
2022-03-05 11:41:28 +00:00
|
|
|
for plugin in "${NU_PLUGINS[@]}"
|
|
|
|
do
|
|
|
|
echo '' && cd crates/$plugin
|
|
|
|
echo "Building $plugin..."
|
|
|
|
echo "-----------------------------"
|
|
|
|
cargo build && cd ../..
|
|
|
|
done
|