add support for exec plugins

This commit is contained in:
Jingfang Liu
2019-04-12 15:41:41 -07:00
parent 28cb6daec7
commit f6e01cfda7
11 changed files with 263 additions and 108 deletions

View File

@@ -11,14 +11,6 @@ cd "$base_dir" || {
rc=0
function buildPlugins {
go build \
-buildmode plugin \
-tags=plugin \
-o ./pkg/plugins/builtin/executable.so \
./pkg/plugins/builtin/executable.go
}
function runTest {
local name=$1
local result="SUCCESS"
@@ -88,7 +80,6 @@ echo pwd=`pwd`
echo " "
echo "Beginning tests..."
runTest buildPlugins
runTest testGoLangCILint
runTest testGoTest