diff --git a/opencloud/Makefile b/opencloud/Makefile index 06dee692b6..b70e30f5a4 100644 --- a/opencloud/Makefile +++ b/opencloud/Makefile @@ -7,7 +7,9 @@ ifdef ENABLE_VIPS TAGS := ${TAGS},enable_vips endif +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../.bingo/Variables.mk +endif include ../.make/default.mk include ../.make/recursion.mk include ../.make/go.mk diff --git a/pkg/Makefile b/pkg/Makefile index 25fb10f0fb..f0363a3d06 100644 --- a/pkg/Makefile +++ b/pkg/Makefile @@ -1,7 +1,9 @@ SHELL := bash NAME := pkg +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../.bingo/Variables.mk +endif include ../.make/default.mk include ../.make/recursion.mk include ../.make/go.mk diff --git a/protogen/Makefile b/protogen/Makefile index a282dcd8ad..93930cc247 100644 --- a/protogen/Makefile +++ b/protogen/Makefile @@ -1,7 +1,9 @@ SHELL := bash NAME := protogen +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../.bingo/Variables.mk +endif include ../.make/default.mk include ../.make/recursion.mk include ../.make/generate.mk diff --git a/services/activitylog/Makefile b/services/activitylog/Makefile index 4858a5e700..0d6a6af77c 100644 --- a/services/activitylog/Makefile +++ b/services/activitylog/Makefile @@ -3,7 +3,10 @@ NAME := activitylog OUTPUT_DIR = ./pkg/service/l10n TEMPLATE_FILE = ./pkg/service/l10n/activitylog.pot +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/antivirus/Makefile b/services/antivirus/Makefile index 112395e3ac..47a588dd8b 100644 --- a/services/antivirus/Makefile +++ b/services/antivirus/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := antivirus +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/app-provider/Makefile b/services/app-provider/Makefile index 563a79caa3..f200baa5fb 100644 --- a/services/app-provider/Makefile +++ b/services/app-provider/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := app-provider +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/app-registry/Makefile b/services/app-registry/Makefile index 94fe404b1d..c35e1fa1b7 100644 --- a/services/app-registry/Makefile +++ b/services/app-registry/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := app-registry +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/audit/Makefile b/services/audit/Makefile index 93cefeb0c4..d7abe37491 100644 --- a/services/audit/Makefile +++ b/services/audit/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := audit +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/auth-app/Makefile b/services/auth-app/Makefile index 597bd4ea92..4d2f8f1d7c 100644 --- a/services/auth-app/Makefile +++ b/services/auth-app/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := auth-app +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/auth-basic/Makefile b/services/auth-basic/Makefile index 48665f35a2..8d7cab3a81 100644 --- a/services/auth-basic/Makefile +++ b/services/auth-basic/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := auth-basic +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/auth-bearer/Makefile b/services/auth-bearer/Makefile index 46ec214a6d..30bd5d69f1 100644 --- a/services/auth-bearer/Makefile +++ b/services/auth-bearer/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := auth-bearer +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/auth-machine/Makefile b/services/auth-machine/Makefile index 0ce7b637e7..ef21e4be45 100644 --- a/services/auth-machine/Makefile +++ b/services/auth-machine/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := auth-machine +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/auth-service/Makefile b/services/auth-service/Makefile index e1b744c2c8..e0bebf5230 100644 --- a/services/auth-service/Makefile +++ b/services/auth-service/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := auth-service +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/clientlog/Makefile b/services/clientlog/Makefile index d7ac4ebc54..fa6927bab1 100644 --- a/services/clientlog/Makefile +++ b/services/clientlog/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := clientlog +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/collaboration/Makefile b/services/collaboration/Makefile index 48e1e9a3c6..c8273d6d0d 100644 --- a/services/collaboration/Makefile +++ b/services/collaboration/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := collaboration +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/eventhistory/Makefile b/services/eventhistory/Makefile index 0cd2d08bcb..62ed0bf393 100644 --- a/services/eventhistory/Makefile +++ b/services/eventhistory/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := eventhistory +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/frontend/Makefile b/services/frontend/Makefile index 7557b2fa18..1bdbc68348 100644 --- a/services/frontend/Makefile +++ b/services/frontend/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := frontend +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/gateway/Makefile b/services/gateway/Makefile index 76c811f998..8f7ba6f9d9 100644 --- a/services/gateway/Makefile +++ b/services/gateway/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := gateway +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/graph/Makefile b/services/graph/Makefile index 0b276c194a..8afc765279 100644 --- a/services/graph/Makefile +++ b/services/graph/Makefile @@ -3,7 +3,10 @@ NAME := graph OUTPUT_DIR = ./pkg/l10n TEMPLATE_FILE = ./pkg/l10n/graph.pot +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/groups/Makefile b/services/groups/Makefile index 89ee2fec99..99f974c783 100644 --- a/services/groups/Makefile +++ b/services/groups/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := groups +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/idm/Makefile b/services/idm/Makefile index 33be9c75b6..d8ba474d75 100644 --- a/services/idm/Makefile +++ b/services/idm/Makefile @@ -2,7 +2,10 @@ SHELL := bash NAME := idm TAGS := disable_crypt +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/idp/Makefile b/services/idp/Makefile index 60881b285d..c94f9c153e 100644 --- a/services/idp/Makefile +++ b/services/idp/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := idp +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/invitations/Makefile b/services/invitations/Makefile index 315a4fe949..5660dcb590 100644 --- a/services/invitations/Makefile +++ b/services/invitations/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := invitations +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/nats/Makefile b/services/nats/Makefile index 3d8714b05d..a6ba55d982 100644 --- a/services/nats/Makefile +++ b/services/nats/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := nats +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/notifications/Makefile b/services/notifications/Makefile index 7896ab2f55..28944cbd5a 100644 --- a/services/notifications/Makefile +++ b/services/notifications/Makefile @@ -3,7 +3,10 @@ NAME := notifications OUTPUT_DIR = ./pkg/email/l10n TEMPLATE_FILE = ./pkg/email/l10n/notifications.pot +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/ocdav/Makefile b/services/ocdav/Makefile index 49bbbd9628..89c152a20b 100644 --- a/services/ocdav/Makefile +++ b/services/ocdav/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := ocdav +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/ocm/Makefile b/services/ocm/Makefile index 5fab56ee5e..4dc5cb82f9 100644 --- a/services/ocm/Makefile +++ b/services/ocm/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := ocm +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/ocs/Makefile b/services/ocs/Makefile index 519b1f25ba..e03181e31b 100644 --- a/services/ocs/Makefile +++ b/services/ocs/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := ocs +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/policies/Makefile b/services/policies/Makefile index 6864e73336..81c60e0cc6 100644 --- a/services/policies/Makefile +++ b/services/policies/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := policies +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/postprocessing/Makefile b/services/postprocessing/Makefile index 28eb9b2df3..255e6d323c 100644 --- a/services/postprocessing/Makefile +++ b/services/postprocessing/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := postprocessing +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/proxy/Makefile b/services/proxy/Makefile index f5432b6692..39a3bf50af 100644 --- a/services/proxy/Makefile +++ b/services/proxy/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := proxy +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/search/Makefile b/services/search/Makefile index 13306a3475..cd1195517a 100644 --- a/services/search/Makefile +++ b/services/search/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := search +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/settings/Makefile b/services/settings/Makefile index 5959b99ac1..b8167cc523 100644 --- a/services/settings/Makefile +++ b/services/settings/Makefile @@ -3,7 +3,10 @@ NAME := settings OUTPUT_DIR = ./pkg/service/v0/l10n TEMPLATE_FILE = ./pkg/service/v0/l10n/settings.pot +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/sharing/Makefile b/services/sharing/Makefile index 1a45c80f80..c9477dd790 100644 --- a/services/sharing/Makefile +++ b/services/sharing/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := sharing +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/sse/Makefile b/services/sse/Makefile index 88cb6e3ee4..6c2f9b0526 100644 --- a/services/sse/Makefile +++ b/services/sse/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := sse +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/storage-publiclink/Makefile b/services/storage-publiclink/Makefile index 6bfb5ac805..abe0f41948 100644 --- a/services/storage-publiclink/Makefile +++ b/services/storage-publiclink/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := storage-publiclink +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/storage-shares/Makefile b/services/storage-shares/Makefile index 0fa3336d44..9589cfc11e 100644 --- a/services/storage-shares/Makefile +++ b/services/storage-shares/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := storage-shares +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/storage-system/Makefile b/services/storage-system/Makefile index 1563091cad..4b93f7bf20 100644 --- a/services/storage-system/Makefile +++ b/services/storage-system/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := storage-system +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/storage-users/Makefile b/services/storage-users/Makefile index 9e58af03c9..03ddb20485 100644 --- a/services/storage-users/Makefile +++ b/services/storage-users/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := storage-users +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/thumbnails/Makefile b/services/thumbnails/Makefile index 26dfc76a27..14f5561804 100644 --- a/services/thumbnails/Makefile +++ b/services/thumbnails/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := thumbnails +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/userlog/Makefile b/services/userlog/Makefile index a02cc84e2e..002711c056 100644 --- a/services/userlog/Makefile +++ b/services/userlog/Makefile @@ -3,7 +3,10 @@ NAME := userlog OUTPUT_DIR = ./pkg/service/l10n TEMPLATE_FILE = ./pkg/service/l10n/userlog.pot +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/users/Makefile b/services/users/Makefile index 0cd926390e..8c2e22d928 100644 --- a/services/users/Makefile +++ b/services/users/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := users +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/web/Makefile b/services/web/Makefile index 80d0059b3c..1a8f7c9ceb 100644 --- a/services/web/Makefile +++ b/services/web/Makefile @@ -3,7 +3,10 @@ NAME := web WEB_ASSETS_VERSION = v1.0.0 WEB_ASSETS_BRANCH = main +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/webdav/Makefile b/services/webdav/Makefile index d41d65abd3..536a3cd72c 100644 --- a/services/webdav/Makefile +++ b/services/webdav/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := webdav +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/webfinger/Makefile b/services/webfinger/Makefile index 15690e261e..070f11d6ba 100644 --- a/services/webfinger/Makefile +++ b/services/webfinger/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := webfinger +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk