diff --git a/Makefile b/Makefile index 2c7e456443b..a8ce3330973 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,9 @@ OCIS_MODULES = \ web \ webdav +ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI include .bingo/Variables.mk +endif .PHONY: help help: diff --git a/accounts/Makefile b/accounts/Makefile index 5b3fb2b38b4..66839055367 100644 --- a/accounts/Makefile +++ b/accounts/Makefile @@ -7,7 +7,9 @@ test-acceptance-webui: ############ tooling ############ +ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI include ../.bingo/Variables.mk +endif ############ go tooling ############ include ../.make/go.mk diff --git a/glauth/Makefile b/glauth/Makefile index 0b35cdf622a..f5f731ad39b 100644 --- a/glauth/Makefile +++ b/glauth/Makefile @@ -2,7 +2,9 @@ SHELL := bash NAME := glauth ############ tooling ############ +ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI include ../.bingo/Variables.mk +endif ############ go tooling ############ include ../.make/go.mk diff --git a/graph-explorer/Makefile b/graph-explorer/Makefile index a87ef3f8542..ec7460f4948 100644 --- a/graph-explorer/Makefile +++ b/graph-explorer/Makefile @@ -2,7 +2,9 @@ SHELL := bash NAME := graph-explorer ############ tooling ############ +ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI include ../.bingo/Variables.mk +endif ############ go tooling ############ include ../.make/go.mk diff --git a/graph/Makefile b/graph/Makefile index 36c38541727..4c654b60513 100644 --- a/graph/Makefile +++ b/graph/Makefile @@ -2,7 +2,9 @@ SHELL := bash NAME := graph ############ tooling ############ +ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI include ../.bingo/Variables.mk +endif ############ go tooling ############ include ../.make/go.mk diff --git a/idp/Makefile b/idp/Makefile index 2976dbaa42d..25439c40eb8 100644 --- a/idp/Makefile +++ b/idp/Makefile @@ -2,7 +2,9 @@ SHELL := bash NAME := idp ############ tooling ############ +ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI include ../.bingo/Variables.mk +endif ############ go tooling ############ include ../.make/go.mk diff --git a/ocis-pkg/Makefile b/ocis-pkg/Makefile index a8f2454694d..db14059bb62 100644 --- a/ocis-pkg/Makefile +++ b/ocis-pkg/Makefile @@ -2,7 +2,9 @@ SHELL := bash NAME := ocis-pkg ############ tooling ############ +ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI include ../.bingo/Variables.mk +endif ############ go tooling ############ include ../.make/go.mk diff --git a/ocis/Makefile b/ocis/Makefile index 191b6b68068..219cf822837 100644 --- a/ocis/Makefile +++ b/ocis/Makefile @@ -2,7 +2,9 @@ SHELL := bash NAME := ocis ############ tooling ############ +ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI include ../.bingo/Variables.mk +endif ############ go tooling ############ include ../.make/go.mk diff --git a/ocs/Makefile b/ocs/Makefile index 0385be61e76..6b8b7437023 100644 --- a/ocs/Makefile +++ b/ocs/Makefile @@ -2,7 +2,9 @@ SHELL := bash NAME := ocs ############ tooling ############ +ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI include ../.bingo/Variables.mk +endif ############ go tooling ############ include ../.make/go.mk diff --git a/onlyoffice/Makefile b/onlyoffice/Makefile index e6fad654dd8..0c7d58ce93e 100644 --- a/onlyoffice/Makefile +++ b/onlyoffice/Makefile @@ -2,7 +2,9 @@ SHELL := bash NAME := onlyoffice ############ tooling ############ +ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI include ../.bingo/Variables.mk +endif ############ go tooling ############ include ../.make/go.mk diff --git a/proxy/Makefile b/proxy/Makefile index 0a270a1b87b..aaeb9677a79 100644 --- a/proxy/Makefile +++ b/proxy/Makefile @@ -2,7 +2,9 @@ SHELL := bash NAME := proxy ############ tooling ############ +ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI include ../.bingo/Variables.mk +endif ############ go tooling ############ include ../.make/go.mk diff --git a/settings/Makefile b/settings/Makefile index 66fa9679bce..838658496ad 100644 --- a/settings/Makefile +++ b/settings/Makefile @@ -7,11 +7,15 @@ test-acceptance-webui: ############ tooling ############ +ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI include ../.bingo/Variables.mk +endif ############ go tooling ############ include ../.make/go.mk + + ############ release ############ include ../.make/release.mk diff --git a/storage/Makefile b/storage/Makefile index 25765dfe6b2..eb4222aa22e 100644 --- a/storage/Makefile +++ b/storage/Makefile @@ -2,7 +2,9 @@ SHELL := bash NAME := storage ############ tooling ############ +ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI include ../.bingo/Variables.mk +endif ############ go tooling ############ include ../.make/go.mk diff --git a/store/Makefile b/store/Makefile index 8376e26b65a..c201499b319 100644 --- a/store/Makefile +++ b/store/Makefile @@ -2,7 +2,9 @@ SHELL := bash NAME := store ############ tooling ############ +ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI include ../.bingo/Variables.mk +endif ############ go tooling ############ include ../.make/go.mk diff --git a/thumbnails/Makefile b/thumbnails/Makefile index e2fcecc7aa6..80e2c7c4065 100644 --- a/thumbnails/Makefile +++ b/thumbnails/Makefile @@ -2,7 +2,9 @@ SHELL := bash NAME := thumbnails ############ tooling ############ +ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI include ../.bingo/Variables.mk +endif ############ go tooling ############ include ../.make/go.mk diff --git a/web/Makefile b/web/Makefile index e6ec647d7c1..272a8db6ab7 100644 --- a/web/Makefile +++ b/web/Makefile @@ -2,7 +2,9 @@ SHELL := bash NAME := web ############ tooling ############ +ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI include ../.bingo/Variables.mk +endif ############ go tooling ############ include ../.make/go.mk diff --git a/webdav/Makefile b/webdav/Makefile index f4ab23837a5..1b85dfaf132 100644 --- a/webdav/Makefile +++ b/webdav/Makefile @@ -2,7 +2,9 @@ SHELL := bash NAME := webdav ############ tooling ############ +ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI include ../.bingo/Variables.mk +endif ############ go tooling ############ include ../.make/go.mk