bazzar/scripts/build-adapters
2023-06-03 13:31:57 +02:00

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