bazzar/scripts/build-adapters

16 lines
330 B
Plaintext
Raw Permalink Normal View History

2022-12-08 16:22:20 +01:00
#!/usr/bin/env zsh
2023-06-03 13:31:57 +02:00
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
2022-12-08 16:22:20 +01:00
done
2023-06-03 13:31:57 +02:00
cp ./target/${target}/debug/*.so ./plugins/available