2022-03-05 06:10:33 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
2022-03-05 12:41:28 +01:00
|
|
|
# Usage: Just run `sh install-all.sh` in nushell root directory
|
|
|
|
|
|
|
|
echo "-----------------------------------------------------------------"
|
2022-11-23 01:58:11 +01:00
|
|
|
echo "Installing nushell (nu) with dataframes and all the plugins"
|
2022-03-05 12:41:28 +01:00
|
|
|
echo "-----------------------------------------------------------------"
|
|
|
|
echo ""
|
|
|
|
|
|
|
|
echo "Install nushell from local..."
|
|
|
|
echo "----------------------------------------------"
|
2022-11-23 01:58:11 +01:00
|
|
|
cargo install --path . --features=dataframe
|
2022-03-05 06:10:33 +01:00
|
|
|
|
|
|
|
NU_PLUGINS=(
|
|
|
|
'nu_plugin_inc'
|
|
|
|
'nu_plugin_gstat'
|
|
|
|
'nu_plugin_query'
|
|
|
|
'nu_plugin_example'
|
2022-08-11 16:40:35 +02:00
|
|
|
'nu_plugin_custom_values'
|
2022-03-05 06:10:33 +01:00
|
|
|
)
|
2022-03-05 12:41:28 +01:00
|
|
|
|
2022-03-05 06:10:33 +01:00
|
|
|
for plugin in "${NU_PLUGINS[@]}"
|
|
|
|
do
|
|
|
|
echo ''
|
|
|
|
echo "----------------------------------------------"
|
|
|
|
echo "Install plugin $plugin from local..."
|
|
|
|
echo "----------------------------------------------"
|
|
|
|
cd crates/$plugin && cargo install --path . && cd ../../
|
|
|
|
done
|