-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
49 lines (34 loc) · 1.57 KB
/
Makefile
File metadata and controls
49 lines (34 loc) · 1.57 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
# A convenience Makefile
# Best used with bash-completion
TI=/usr/local/bin/titanium
DEVICE="iPhone Retina (4 inch)"
DEVICE_35_INCH="iPhone Retina (3.5 inch)"
DEVICE_IPAD="iPad"
DEVICE_IPAD_RETINA="iPad Retina"
.PHONY: clean ios-simulator simulator-android build-android
clean:
@rm -rf "`pwd`"/build/*
@rm -rf "`pwd`"/Resources/*
pre-build:
@echo "Doing pre build"
# Add any pre-build scripts here
ios-simulator: pre-build
$(TI) build --platform=ios --log-level=debug --target simulator --device-id $(DEVICE)
ios-simulator-35inch: pre-build
$(TI) build --platform=ios --log-level=debug --target simulator --device-id $(DEVICE_35_INCH)
ios-simulator-ipad: pre-build
$(TI) build --platform=ios --log-level=debug --target simulator --device-id $(DEVICE_IPAD)
ios-simulator-ipad-ret: pre-build
$(TI) build --platform=ios --log-level=debug --target simulator --device-id $(DEVICE_IPAD_RETINA)
ios-simulator-rapiddev: pre-build
$(TI) build --platform=ios --log-level=debug --target simulator --device-id $(DEVICE) --rapiddev
ios-simulator-shadow: pre-build
$(TI) build --platform=ios --log-level=debug --target simulator --device-id $(DEVICE) --shadow
ios-simulator-test: pre-build
$(TI) build --platform=ios --log-level=debug --target simulator -D test --device-id $(DEVICE)
android-simulator: pre-build
$(TI) build --platform=android --log-level=debug
android-device: pre-build
$(TI) build --platform=android --log-level=debug --target=device
android-geny-s5device: pre-build
$(TI) build --platform=android --log-level=debug --device-id "Samsung Galaxy S5 - 4.4.2 - API 19 - 1080x1920"