This is an automated email from the ASF dual-hosted git repository.

klesh pushed a commit to branch kw-docs-apikey-page
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git

commit c6334b30aa55bae75280f7fea78252addd2e36ce
Author: Klesh Wong <[email protected]>
AuthorDate: Tue Nov 14 14:51:09 2023 +0800

    feat: skip building plugins when DEVLAKE_PLUGINS=none
---
 backend/scripts/build-plugins.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/backend/scripts/build-plugins.sh b/backend/scripts/build-plugins.sh
index 5a92bce93..3c31404e6 100755
--- a/backend/scripts/build-plugins.sh
+++ b/backend/scripts/build-plugins.sh
@@ -34,6 +34,12 @@ echo "Usage: "
 echo "  build all plugins:              $0 [golang build flags...]"
 echo "  build and keep specified plugins only: DEVLAKE_PLUGINS=github,jira $0 
[golang build flags...]"
 
+
+if [ "$DEVLAKE_PLUGINS" = "none" ]; then
+    echo "skip building plugins" > &2
+    exit 0
+fi
+
 ROOT_DIR=$(dirname $(dirname "$0"))
 EXTRA=""
 PLUGIN_SRC_DIR=$ROOT_DIR/plugins

Reply via email to