mirror of
https://github.com/nushell/nushell.git
synced 2024-12-25 16:39:08 +01:00
6a1e504a50
* Update build & install sh scripts, add install script for windows * Rename install scripts [ci skip]
24 lines
564 B
Bash
Executable File
24 lines
564 B
Bash
Executable File
#!/bin/sh
|
|
|
|
echo "---------------------------------------------------------------"
|
|
echo "Building nushell (nu) with --features=extra and all the plugins"
|
|
echo "---------------------------------------------------------------"
|
|
echo ""
|
|
|
|
NU_PLUGINS=(
|
|
'nu_plugin_example'
|
|
'nu_plugin_gstat'
|
|
'nu_plugin_inc'
|
|
'nu_plugin_query'
|
|
)
|
|
|
|
echo "Building nushell"
|
|
cargo build --features=extra
|
|
for plugin in "${NU_PLUGINS[@]}"
|
|
do
|
|
echo '' && cd crates/$plugin
|
|
echo "Building $plugin..."
|
|
echo "-----------------------------"
|
|
cargo build && cd ../..
|
|
done
|