mirror of
https://github.com/owncloud/ocis.git
synced 2026-10-23 23:29:02 +03:00
34 lines
889 B
Makefile
34 lines
889 B
Makefile
SHELL := bash
|
|
NAME := search
|
|
|
|
include ../../.make/recursion.mk
|
|
|
|
############ tooling ############
|
|
ifneq (, $(shell command -v go 2> /dev/null)) # suppress `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
|
|
|
|
############ generate ############
|
|
include ../../.make/generate.mk
|
|
|
|
.PHONY: ci-go-generate
|
|
ci-go-generate: $(PIGEON) $(MOCKERY) # CI runs ci-node-generate automatically before this target
|
|
$(MOCKERY)
|
|
$(PIGEON) -optimize-grammar -optimize-parser -o ../../ocis-pkg/kql/dictionary_gen.go ../../ocis-pkg/kql/dictionary.peg
|
|
|
|
.PHONY: ci-node-generate
|
|
ci-node-generate:
|
|
|
|
############ licenses ############
|
|
.PHONY: ci-node-check-licenses
|
|
ci-node-check-licenses:
|
|
|
|
.PHONY: ci-node-save-licenses
|
|
ci-node-save-licenses:
|