-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
33 lines (24 loc) · 765 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
30
31
32
33
.DEFAULT_GOAL := all
feature_dirs := $(wildcard ./specifications/*/*/*)
clean:
@rm -rf ./tests
@mkdir ./tests
@touch ./tests/.gitkeep
@echo "*.html" > ./tests/.gitignore
@rm -rf ./test-assets
@mkdir ./test-assets
@touch ./test-assets/.gitkeep
@echo "*.js" > ./test-assets/.gitignore
scripts:
@$(MAKE) -C ./scripts
features: $(feature_dirs) scripts
$(feature_dirs): scripts clean
@$(MAKE) -C $@
html-tests-from-existing-sources: scripts clean
@for feature_dir in $(feature_dirs); do \
$(MAKE) -C $$feature_dir html-tests-from-existing-sources; \
done
build-mapping: scripts features
web-tests-build-mapping
all: scripts features build-mapping
.PHONY: clean scripts all features $(feature_dirs) html-tests-from-existing-sources build-mapping