-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
56 lines (45 loc) · 2.15 KB
/
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Useful methods or functions
include shared-makefile/shared-cli.mk
.PHONY: all
all: client_shared_cpp_test client_shared_js_test_jest client_shared_js_test_mocha client_web_raw client_web_webpack
.PHONY: client_shared_cpp
client_shared_cpp:
cd ./client-shared-cpp $(CmdSeparator) $(Make)
.PHONY: client_shared_js
client_shared_js: client_shared_cpp
cd ./client-shared-js $(CmdSeparator) $(Make)
.PHONY: client_shared_cpp_test
client_shared_cpp_test: client_shared_cpp
cd ./client-shared-cpp-test $(CmdSeparator) $(Make)
.PHONY: client_shared_js_test_jest
client_shared_js_test_jest: client_shared_js
cd ./client-shared-js-test-jest $(CmdSeparator) $(Make)
.PHONY: client_shared_js_test_mocha
client_shared_js_test_mocha: client_shared_js
cd ./client-shared-js-test-mocha $(CmdSeparator) $(Make)
.PHONY: client_web_raw
client_web_raw: client_shared_js
cd ./client-web-raw $(CmdSeparator) $(Make)
.PHONY: client_web_webpack
client_web_webpack: client_shared_js
cd ./client-web-webpack $(CmdSeparator) $(Make)
.PHONY: test
test: client_shared_cpp_test client_shared_js_test_jest client_shared_js_test_mocha
cd ./client-shared-cpp-test $(CmdSeparator) $(Make) test
cd ./client-shared-js-test-jest $(CmdSeparator) $(Make) test
cd ./client-shared-js-test-mocha $(CmdSeparator) $(Make) test
.PHONY: clean
clean:
cd $(call FixPath,./client-web-raw) $(CmdSeparator) $(Make) clean
cd $(call FixPath,./client-web-webpack) $(CmdSeparator) $(Make) clean
cd $(call FixPath,./client-shared-js-test-jest) $(CmdSeparator) $(Make) clean
cd $(call FixPath,./client-shared-js-test-mocha) $(CmdSeparator) $(Make) clean
cd $(call FixPath,./client-shared-js) $(CmdSeparator) $(Make) clean
cd $(call FixPath,./client-shared-cpp-test) $(CmdSeparator) $(Make) clean
cd $(call FixPath,./client-shared-cpp) $(CmdSeparator) $(Make) clean
.PHONY: clean-hard
clean-hard: clean
cd $(call FixPath,./client-shared-js-test-jest) $(CmdSeparator) $(Make) clean-hard
cd $(call FixPath,./client-shared-js-test-mocha) $(CmdSeparator) $(Make) clean-hard
cd $(call FixPath,./client-web-raw) $(CmdSeparator) $(Make) clean-hard
cd $(call FixPath,./client-web-webpack) $(CmdSeparator) $(Make) clean-hard