2022-11-28 04:13:06 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
2022-03-04 23:17:33 +01:00
|
|
|
|
2022-03-05 06:10:33 +01:00
|
|
|
echo "---------------------------------------------------------------"
|
2022-11-23 01:58:11 +01:00
|
|
|
echo "Building nushell (nu) with dataframes and all the plugins"
|
2022-03-05 06:10:33 +01:00
|
|
|
echo "---------------------------------------------------------------"
|
2022-03-04 23:17:33 +01:00
|
|
|
echo ""
|
|
|
|
|
2022-03-05 12:41:28 +01:00
|
|
|
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'
|
2022-03-05 12:41:28 +01:00
|
|
|
)
|
|
|
|
|
2022-03-05 06:10:33 +01:00
|
|
|
echo "Building nushell"
|
2022-11-23 01:58:11 +01:00
|
|
|
cargo build --features=dataframe
|
2022-03-05 12:41:28 +01:00
|
|
|
for plugin in "${NU_PLUGINS[@]}"
|
|
|
|
do
|
2022-11-28 04:13:06 +01:00
|
|
|
echo '' && cd crates/"$plugin"
|
2022-03-05 12:41:28 +01:00
|
|
|
echo "Building $plugin..."
|
|
|
|
echo "-----------------------------"
|
|
|
|
cargo build && cd ../..
|
|
|
|
done
|