-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
73 lines (57 loc) · 2.21 KB
/
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
VERSION=`cut -d '"' -f2 $BUILDDIR/../version.js`
cordova-base:
grunt dist-mobile
wp8-prod:
cordova/build.sh WP8 --clear
cordova/wp/fix-svg.sh
echo -e "\a"
wp8-debug:
cordova/build.sh WP8 --dbgjs
cordova/wp/fix-svg.sh
echo -e "\a"
ios:
cordova/build.sh IOS --dbgjs
cd ../inWalletbuilds/project-IOS && cordova build ios
open ../inWalletbuilds/project-IOS/platforms/ios/inWallet.xcodeproj
ios-prod:
cordova/build.sh IOS --clear
cd ../inWalletbuilds/project-IOS && cordova build ios
ios-debug:
cordova/build.sh IOS --dbgjs
cd ../inWalletbuilds/project-IOS && cordova build ios
open ../inWalletbuilds/project-IOS/platforms/ios/inWallet.xcodeproj
android:
test -d "../inWalletbuilds" || mkdir ../inWalletbuilds
cordova/build.sh ANDROID --clear
cd ../inWalletbuilds/project-ANDROID && cordova build android 2>&1 >/dev/null
mv ../inWalletbuilds/project-ANDROID/platforms/android/build/outputs/apk/android-debug.apk ../inWalletbuilds/inWallet.apk
android-prod:
cordova/build.sh ANDROID --clear
cd ../inWalletbuilds/project-ANDROID && cordova build android 2>&1 >/dev/null
mv ../inWalletbuilds/project-ANDROID/platforms/android/build/outputs/apk/android-debug.apk ../inWalletbuilds/inWallet.apk
android-prod-fast:
cordova/build.sh ANDROID
# cd ../inWalletbuilds/project-ANDROID && cordova run android --device
cd ../inWalletbuilds/project-ANDROID && cordova build android 2>&1 >/dev/null
mv ../inWalletbuilds/project-ANDROID/platforms/android/build/outputs/apk/android-debug.apk ../inWalletbuilds/inWallet.apk
android-debug:
cordova/build.sh ANDROID --dbgjs
cd ../inWalletbuilds/project-ANDROID && cordova build android 2>&1 >/dev/null
mv ../inWalletbuilds/project-ANDROID/platforms/android/build/outputs/apk/android-debug.apk ../inWalletbuilds/inWallet.apk
android-debug-fast:
cordova/build.sh ANDROID --dbgjs
cd ../inWalletbuilds/project-ANDROID && cordova run android --device
win32:
grunt.cmd desktop
cp -rf node_modules ../inWalletbuilds/inWallet/win32/
grunt.cmd inno32
win64:
grunt.cmd inno64
linux64:
grunt desktop
cp -rf node_modules ../inWalletbuilds/inWallet/linux64/
grunt linux64
osx64:
grunt desktop
cp -rf node_modules ../inWalletbuilds/inWallet/osx64/inWallet.app/Contents/Resources/app.nw/
grunt dmg