forked from acejam/docker-1
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
29 lines (21 loc) · 805 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
27
28
29
export ROOT_DIR=$(CURDIR)
export DOCKER_REPO=github
MODULES=$(dir $(wildcard */Makefile))
.PHONY: clean
clean: ## Call the 'clean' target on all sub-modules
$(foreach mod,$(MODULES),($(MAKE) -C $(mod) $@) || exit $$?;)
.PHONY: lint
lint: ## Call the 'lint' target on all sub-modules
$(foreach mod,$(MODULES),($(MAKE) -C $(mod) $@) || exit $$?;)
.PHONY: build
build: ## Call the 'build' target on all sub-modules
$(foreach mod,$(MODULES),($(MAKE) -C $(mod) $@) || exit $$?;)
.PHONY: test
test: ## Call the 'test' target on all sub-modules
$(foreach mod,$(MODULES),($(MAKE) -C $(mod) $@) || exit $$?;)
.PHONY: publish
publish: ## Call the 'publish' target on all sub-modules
$(foreach mod,$(MODULES),($(MAKE) -C $(mod) $@) || exit $$?;)
.PHONY: dev-all
dev-all: lint build test
include help.mk