summaryrefslogtreecommitdiff
path: root/build-all-maclin.sh
blob: 45b0cac2612bfbfe098d6a2e489be18b35635a53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/env bash
set -euo pipefail

echo "---------------------------------------------------------------"
echo "Building nushell (nu) with dataframes and all the plugins"
echo "---------------------------------------------------------------"
echo ""

NU_PLUGINS=(
    'nu_plugin_example'
    'nu_plugin_gstat'
    'nu_plugin_inc'
    'nu_plugin_query'
    'nu_plugin_custom_values'
)

echo "Building nushell"
cargo build --features=dataframe
for plugin in "${NU_PLUGINS[@]}"
do
    echo '' && cd crates/"$plugin"
    echo "Building $plugin..."
    echo "-----------------------------"
    cargo build && cd ../..
done