16 lines
330 B
Bash
Executable File
16 lines
330 B
Bash
Executable File
#!/usr/bin/env zsh
|
|
|
|
set -ex
|
|
|
|
rm -Rf plugins/available
|
|
|
|
mkdir -p plugins/enabled
|
|
mkdir -p plugins/available
|
|
|
|
for d in $(ls crates | grep -e '-plugin'); do
|
|
echo "cargo build --manifest-path ./crates/${d}/Cargo.toml"
|
|
cargo build --manifest-path ./crates/${d}/Cargo.toml
|
|
done
|
|
|
|
cp ./target/${target}/debug/*.so ./plugins/available
|