forked from ql-io/ql.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
executable file
·36 lines (26 loc) · 748 Bytes
/
Makefile
File metadata and controls
executable file
·36 lines (26 loc) · 748 Bytes
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
30
31
32
33
34
35
MODULES = modules/uri-template modules/str-template modules/mutable-uri modules/compiler modules/engine \
modules/console modules/app modules/mem-cache-local
DIRS = $(MODULES)
UNAME := $(shell uname -s)
all: clean install test
clean:
-for d in $(DIRS); do (cd $$d; $(MAKE) clean ); done
install:
-for d in $(DIRS); do (cd $$d; $(MAKE) install ); done
.PHONY : test
test:
-rm -rf reports
mkdir -p test
-for d in $(DIRS); do \
cd $$d; \
$(MAKE) test || exit;\
cd ../..;\
done
test-part:
-rm -rf reports
mkdir -p test
-for d in $(DIRS); do (cd $$d; $(MAKE) test-part ); done
publish:
-for d in $(MODULES); do (cd $$d; $(MAKE) publish); done
unpublish:
-for d in $(MODULES); do (cd $$d; $(MAKE) unpublish); done