helperbot/buildplugins.sh
2019-11-12 18:45:56 -06:00

12 lines
174 B
Bash
Executable File

#!/bin/bash
cd plugins_src
for i in `ls`; do
echo "Building plugin: $i"
go build -buildmode=plugin $i
if [ $? -eq 0 ]; then
mv *.so ../cmd/plugins
fi
done
cd ..