chore: add main scripts
This commit is contained in:
parent
37eedccd14
commit
a9f69f8cd3
3 changed files with 22 additions and 0 deletions
14
build-all.sh
Executable file
14
build-all.sh
Executable 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
7
collect-install.sh
Executable 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
1
make_plugin.sh
Executable file
|
|
@ -0,0 +1 @@
|
|||
cargo generate --force --path generate/nu_plugin_template
|
||||
Loading…
Add table
Reference in a new issue