-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
60 lines (45 loc) · 1.56 KB
/
Makefile
File metadata and controls
60 lines (45 loc) · 1.56 KB
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
57
58
59
60
print-destination:
@make print-destination -f $(ACTION_PATH)/build/Makefile
warm-simulator:
@make warm-simulator -f $(ACTION_PATH)/build/Makefile
xcodebuild:
@make xcodebuild -f $(ACTION_PATH)/build/Makefile
xcodebuild-test:
@make xcodebuild-test -f $(ACTION_PATH)/build/Makefile
# Workaround for debugging Swift Testing tests: https://github.com/cpisciotta/xcbeautify/issues/313
xcodebuild-raw:
@make xcodebuild-raw -f $(ACTION_PATH)/build/Makefile
# Workaround for debugging Swift Testing tests: https://github.com/cpisciotta/xcbeautify/issues/313
xcodebuild-test-raw:
@make xcodebuild-test-raw -f $(ACTION_PATH)/build/Makefile
build-for-library-evolution:
@make build-for-library-evolution -f $(ACTION_PATH)/build/Makefile
benchmark:
@make benchmark -f $(ACTION_PATH)/build/Makefile
test-docs:
@make test-docs -f $(ACTION_PATH)/build/Makefile
github-build-docs:
@echo "Running github-build-docs for $(SCHEME)"
@chmod +x '.scripts/github-build-docs'
SCHEME=$(SCHEME) ./.scripts/github-build-docs
format:
@make _runpy module=format
venv:
@rm -rf .venv
@python3 -m venv .venv
_runpy:
@chmod +x $(CURDIR)/.venv/bin/activate && $(CURDIR)/.venv/bin/activate
@chmod +x "$(CURDIR)/.venv/bin/python" && "$(CURDIR)/.venv/bin/python" -m $(module)
.PHONY: build-for-library-evolution format warm-simulator xcodebuild xcodebuild-raw test-docs
define udid_for
$(shell \
xcrun simctl list devices available '$(1)' \
| grep '$(2)' \
| sort -r \
| head -1 \
| awk -F '[()]' '{ print $$(NF-3) }' \
)
endef
# simple action for testing if Makefile is valid
ping:
@echo "pong 🏓"