forked from thunderbird/addons-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
26 lines (19 loc) · 820 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
.PHONY: help docs test test_es test_no_es test_force_db tdd test_failed initialize_db populate_data update_deps update_db update_assets initialize update reindex flake8 shell debug
IN_DOCKER = $(wildcard /addons-server-docker-container)
ifneq ($(IN_DOCKER),)
SUB_MAKEFILE = Makefile-docker
else
SUB_MAKEFILE = Makefile-os
endif
include $(SUB_MAKEFILE)
help:
@echo "Please use 'make <target>' where <target> is one of the following commands."
@echo "Commands that are designed to be run in either the container or the host:"
@echo " docs to builds the documentation"
@echo " flake8 to run the flake8 linter"
@$(MAKE) help_submake --no-print-directory
@echo "Check the Makefile to know exactly what each target is doing."
docs:
$(MAKE) -C docs html
flake8:
flake8 src/ services/