diff --git a/plugins/config/Makefile b/plugins/config/Makefile index dcf7c0cad..ccb9e826d 100644 --- a/plugins/config/Makefile +++ b/plugins/config/Makefile @@ -9,7 +9,7 @@ build-in-docker: clean -v $$PWD/../..:$(GO_REPO_ROOT) \ -w $(GO_REPO_ROOT)/plugins/config \ $(BUILD_IMAGE) \ - bash -c "GO_ARGS='$(GO_ARGS)' make build" || exit $$? + bash -c "GO_ARGS='$(GO_ARGS)' make -j4 build" || exit $$? build: commands subcommands diff --git a/plugins/network/Makefile b/plugins/network/Makefile index c5690fb5d..36f189b92 100644 --- a/plugins/network/Makefile +++ b/plugins/network/Makefile @@ -9,9 +9,10 @@ build-in-docker: clean -v $$PWD/../..:$(GO_REPO_ROOT) \ -w $(GO_REPO_ROOT)/plugins/network \ $(BUILD_IMAGE) \ - bash -c "GO_ARGS='$(GO_ARGS)' make build" || exit $$? + bash -c "GO_ARGS='$(GO_ARGS)' make -j4 build" || exit $$? -build: commands subcommands triggers triggers-copy +build: commands subcommands triggers + $(MAKE) triggers-copy commands: **/**/commands.go go build $(GO_ARGS) -o commands src/commands/commands.go diff --git a/plugins/repo/Makefile b/plugins/repo/Makefile index b4c949836..4c9c8bcae 100644 --- a/plugins/repo/Makefile +++ b/plugins/repo/Makefile @@ -9,7 +9,7 @@ build-in-docker: clean -v $$PWD/../..:$(GO_REPO_ROOT) \ -w $(GO_REPO_ROOT)/plugins/repo \ $(BUILD_IMAGE) \ - bash -c "GO_ARGS='$(GO_ARGS)' make build" || exit $$? + bash -c "GO_ARGS='$(GO_ARGS)' make -j4 build" || exit $$? build: commands subcommands