forked from groue/GRDBQuery
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
26 lines (23 loc) · 673 Bytes
/
Makefile
File metadata and controls
26 lines (23 loc) · 673 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
# If xcbeautify or xcpretty is available, use it for xcodebuild output, except in CI.
XCPRETTY =
ifeq ($(CI),true)
else
XCBEAUTIFY_PATH := $(shell command -v xcbeautify 2> /dev/null)
XCPRETTY_PATH := $(shell command -v xcpretty 2> /dev/null)
ifdef XCBEAUTIFY_PATH
XCPRETTY = | xcbeautify
else ifdef XCPRETTY_PATH
XCPRETTY = | xcpretty -c
endif
endif
test:
swift test
xcodebuild \
-project Tests/QueryTests/QueryTests.xcodeproj \
-scheme QueryTests \
-destination 'platform=macOS,arch=x86_64' \
clean build build-for-testing test-without-building \
$(XCPRETTY)
distclean:
git clean -dffx .
.PHONY: test docs docs-localhost distclean