mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2025-12-31 09:20:15 -06:00
60 lines
1.2 KiB
Makefile
60 lines
1.2 KiB
Makefile
SHELL := bash
|
|
NAME := settings
|
|
|
|
include ../.make/recursion.mk
|
|
|
|
.PHONY: test-acceptance-webui
|
|
test-acceptance-webui:
|
|
./ui/tests/run-acceptance-test.sh $(FEATURE_PATH)
|
|
|
|
|
|
############ tooling ############
|
|
ifneq (, $(shell which 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
|
|
|
|
############ docs generate ############
|
|
include ../.make/docs.mk
|
|
|
|
############ l10n ############
|
|
include ../.make/l10n.mk
|
|
|
|
.PHONY: docs-generate
|
|
docs-generate: config-docs-generate \
|
|
grpc-docs-generate
|
|
|
|
############ generate ############
|
|
include ../.make/generate.mk
|
|
|
|
.PHONY: ci-go-generate
|
|
ci-go-generate: protobuf # CI runs ci-node-generate automatically before this target
|
|
|
|
.PHONY: ci-node-generate
|
|
ci-node-generate: yarn-build
|
|
|
|
.PHONY: yarn-build
|
|
yarn-build: node_modules
|
|
yarn lint
|
|
yarn test
|
|
yarn build
|
|
|
|
.PHONY: node_modules
|
|
node_modules:
|
|
yarn install --immutable
|
|
|
|
############ protobuf ############
|
|
PROTO_VERSION := v0
|
|
PROTO_SRC := pkg/proto/$(PROTO_VERSION)
|
|
|
|
include ../.make/protobuf.mk
|
|
|
|
.PHONY: protobuf
|
|
protobuf: buf-generate
|