mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-01 02:30:48 -05:00
This re-adds the check for go being installed before including the bingo variables make file to avoid repeating errors about missing a missing go binary when running 'make node-generate' in the ci (the node container doesn't have go installed)
18 lines
508 B
Makefile
18 lines
508 B
Makefile
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
|
|
include ../../.make/release.mk
|
|
include ../../.make/docs.mk
|
|
|
|
.PHONY: go-generate
|
|
go-generate: $(PIGEON) $(MOCKERY)
|
|
$(MOCKERY)
|
|
$(PIGEON) -optimize-grammar -optimize-parser -o ../../pkg/kql/dictionary_gen.go ../../pkg/kql/dictionary.peg
|