-
Notifications
You must be signed in to change notification settings - Fork 2
/
xcodebuild.mk
36 lines (30 loc) · 940 Bytes
/
xcodebuild.mk
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
bin=./DerivedData/x509/Build/Products/Debug
.PHONY: run
run:
$(bin)/test_data_init
$(bin)/test_x509
$(bin)/test_handshaker
$(bin)/test_builder
# ./tests/test_server/test_server
# ./tests/test_cert_store/test_cert_store
# ./tests/test_cert_server/test_cert_server
.PHONY: all
tests_all: clean build
.PHONY: clean
clean:
xcodebuild -scheme x509 clean
xcodebuild -scheme test_x509 clean
xcodebuild -scheme test_cert_store clean
xcodebuild -scheme test_handshaker clean
xcodebuild -scheme test_builder clean
xcodebuild -scheme test_data_init clean
xcodebuild -scheme test_server clean
.PHONY: build
build:
xcodebuild -quiet -scheme x509 build
xcodebuild -quiet -scheme test_x509 build
xcodebuild -quiet -scheme test_cert_store build
xcodebuild -quiet -scheme test_handshaker build
xcodebuild -quiet -scheme test_builder build
xcodebuild -quiet -scheme test_data_init build
xcodebuild -quiet -scheme test_server build