mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-08-12 05:43:34 +00:00
14 lines
400 B
Bash
Executable File
14 lines
400 B
Bash
Executable File
#!/bin/bash
|
|
|
|
for f in tap/extensions/*; do
|
|
if [ -d "$f" ]; then
|
|
echo Building extension: $f
|
|
extension=$(basename $f) && \
|
|
cd tap/extensions/${extension} && \
|
|
go build -buildmode=plugin -o ../${extension}.so . && \
|
|
cd ../../.. && \
|
|
mkdir -p agent/build/extensions && \
|
|
cp tap/extensions/${extension}.so agent/build/extensions
|
|
fi
|
|
done
|