chore: add main scripts

This commit is contained in:
Jesús Pérex 2025-06-27 02:36:25 +01:00
parent 37eedccd14
commit a9f69f8cd3
3 changed files with 22 additions and 0 deletions

14
build-all.sh Executable file
View File

@ -0,0 +1,14 @@
#!/usr/bin/env bash
for plgn in nu_plugin_*
do
cd $plgn
echo "Build $plgn ..."
if cargo build -r ; then
echo "Created $plgn ..."
else
echo "Error in $plgn !!"
fi
echo "---"
cd ..
done

7
collect-install.sh Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
TARGET_PATH=distribution
cd $TARGET_PATH
./collect.sh
cp -pv nu_plugin* /usr/local/bin

1
make_plugin.sh Executable file
View File

@ -0,0 +1 @@
cargo generate --force --path generate/nu_plugin_template