mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 00:13:21 +01:00
905e3d0715
# Description Removes the old `nu-cmd-dataframe` crate in favor of the polars plugin. As such, this PR also removes the `dataframe` feature, related CI, and full releases of nushell.
34 lines
902 B
Bash
Executable File
34 lines
902 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
DIR=$(readlink -f $(dirname "${BASH_SOURCE[0]}"))
|
|
REPO_ROOT=$(dirname $DIR)
|
|
|
|
echo "-----------------------------------------------------------------"
|
|
echo "Installing nushell (nu) and all the plugins"
|
|
echo "-----------------------------------------------------------------"
|
|
echo ""
|
|
|
|
echo "Install nushell from local..."
|
|
echo "----------------------------------------------"
|
|
cargo install --force --path "$REPO_ROOT" --locked
|
|
|
|
NU_PLUGINS=(
|
|
'nu_plugin_inc'
|
|
'nu_plugin_gstat'
|
|
'nu_plugin_query'
|
|
'nu_plugin_example'
|
|
'nu_plugin_custom_values'
|
|
'nu_plugin_formats'
|
|
)
|
|
|
|
for plugin in "${NU_PLUGINS[@]}"
|
|
do
|
|
echo ''
|
|
echo "----------------------------------------------"
|
|
echo "Install plugin $plugin from local..."
|
|
echo "----------------------------------------------"
|
|
cargo install --force --path "$REPO_ROOT/crates/$plugin"
|
|
done
|