forked from mattermost/mattermost-api-reference
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
20 lines (16 loc) · 864 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.PHONY: build
HTML_DIR= ./html/static
SOURCE_DIR = ./source
build:
@echo Building mattermost openapi yaml
@cat $(SOURCE_DIR)/introduction.yaml > $(HTML_DIR)/mattermost-openapi.yaml
@cat $(SOURCE_DIR)/users.yaml >> $(HTML_DIR)/mattermost-openapi.yaml
@cat $(SOURCE_DIR)/teams.yaml >> $(HTML_DIR)/mattermost-openapi.yaml
@cat $(SOURCE_DIR)/channels.yaml >> $(HTML_DIR)/mattermost-openapi.yaml
@cat $(SOURCE_DIR)/posts.yaml >> $(HTML_DIR)/mattermost-openapi.yaml
@cat $(SOURCE_DIR)/files.yaml >> $(HTML_DIR)/mattermost-openapi.yaml
@cat $(SOURCE_DIR)/preferences.yaml >> $(HTML_DIR)/mattermost-openapi.yaml
@cat $(SOURCE_DIR)/incoming-webhooks.yaml >> $(HTML_DIR)/mattermost-openapi.yaml
@cat $(SOURCE_DIR)/reactions.yaml >> $(HTML_DIR)/mattermost-openapi.yaml
@cat $(SOURCE_DIR)/definitions.yaml >> $(HTML_DIR)/mattermost-openapi.yaml
@echo Complete