forked from keithharp/MinimalAnalog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
52 lines (34 loc) · 966 Bytes
/
Makefile
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
# platform
#P="chalk"
VERSION=$(shell cat package.json | grep version | grep -o "[0-9][0-9]*\.[0-9][0-9]*")
NAME=$(shell cat package.json | grep '"name":' | head -1 | sed 's/,//g' |sed 's/"//g' | awk '{ print $2 }')
all: build install
build:
pebble build
config:
pebble emu-app-config --emulator $(PEBBLE_EMULATOR)
log:
pebble logs --emulator $(PEBBLE_EMULATOR)
travis_build:
yes | sdk/bin/pebble build
install:
pebble install --emulator $(PEBBLE_EMULATOR)
clean:
pebble clean
size:
pebble analyze-size
logs:
pebble logs --emulator $(PEBBLE_EMULATOR)
phone-logs:
pebble logs --phone ${PEBBLE_PHONE}
screenshot:
pebble screenshot --phone ${PEBBLE_PHONE}
deploy:
pebble install --phone ${PEBBLE_PHONE}
timeline-on:
pebble emu-set-timeline-quick-view on
timeline-off:
pebble emu-set-timeline-quick-view off
wipe:
pebble wipe
.PHONY: all build config log install clean size logs screenshot deploy timeline-on timeline-off wipe phone-logs