mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-20 03:20:44 -06:00
25 lines
572 B
Makefile
25 lines
572 B
Makefile
SHELL := bash
|
|
NAME := groupware
|
|
|
|
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/go.mk
|
|
include ../../.make/release.mk
|
|
include ../../.make/docs.mk
|
|
|
|
.PHONY: apidoc
|
|
apidoc: swagger.yml
|
|
|
|
.PHONY: swagger.yml
|
|
swagger.yml:
|
|
swagger generate spec -c groupware -o ./swagger.yml
|
|
|
|
APIDOC_PORT=9999
|
|
|
|
.PHONY: serve-apidoc
|
|
serve-apidoc: swagger.yml
|
|
swagger serve --no-open --port=$(APIDOC_PORT) --host=127.0.0.1 --flavor=redoc $<
|