-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
44 lines (33 loc) · 920 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
usage :
@echo ''
@echo 'Core tasks : Description'
@echo '-------------------- : -----------'
@echo 'make setup : Clean and create everything needed to begin'
@echo 'make build : Build grunt and cordova project'
@echo 'make emulate : Start an android emulator'
@echo 'make run : Send app to a connected device'
@echo ''
setup :
rm -rf www
mkdir www
@cd web; npm install; bower install; grunt build --force;
rm -rf merges platforms plugins
mkdir merges platforms plugins
cordova platform add android
binstall :
@cd web; bower install;
build :
@cd web; grunt build --force;
cordova build android
emulate :
cordova emulate android
run :
cordova run android
gbuild :
@cd web; grunt build --force;
gserver :
@cd web; grunt server;
cbuild :
cordova build android
cserver :
cordova serve android