-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (27 loc) · 995 Bytes
/
Makefile
File metadata and controls
37 lines (27 loc) · 995 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
27
28
29
30
31
32
33
34
35
36
37
.PHONY: test clean doc cov kill release
test:
xctool test
cov:
xctool test GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES
clean:
xctool clean
kill:
osascript -e 'tell app "iPhone Simulator" to quit'
covr:
touch .gcov ; rm -rf .gcov ; mkdir .gcov
cp `$(MAKE) echo-obj-dir`/* .gcov/
gcovr -r .
coveralls:
touch .gcov ; rm -rf .gcov ; mkdir .gcov
cp `$(MAKE) echo-obj-dir`/* .gcov/
coveralls -e Pods -e StrawTests -x '.m' -E '.*\.h'
rm -rf .gcov
echo-obj-dir:
@echo ` xctool -showBuildSettings | awk '/OBJECT_FILE_DIR_normal =/{x=$$3}/NATIVE_ARCH =/{y=$$3}END{print x"/"y}' `
doc:
appledoc --project-name 'Straw' --project-company 'kt3k.org' --company-id 'org.kt3k' --output doc-dev --create-html --no-create-docset Straw
doc-release:
appledoc --project-name 'Straw' --project-company 'kt3k.org' --company-id 'org.kt3k' --output doc/v0.5.4 --create-html --no-create-docset Straw
release:
pod spec lint Straw.podspec
pod trunk push Straw.podspec