-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
70 lines (56 loc) · 2.59 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
VERSION=`cut -d '"' -f2 $BUILDDIR/../version.js`
sign:
gpg -u 1112CFA1 --output browser-extensions/chrome/copay-chrome-extension.zip.sig --detach-sig browser-extensions/chrome/copay-chrome-extension.zip
verify:
gpg --verify browser-extensions/chrome/copay-chrome-extension.zip.sig browser-extensions/chrome/copay-chrome-extension.zip
sign-desktop:
gpg -u 1112CFA1 --output webkitbuilds/Copay-linux.zip.sig --detach-sig webkitbuilds/Copay-linux.zip
gpg -u 1112CFA1 --output webkitbuilds/Copay-osx.dmg.sig --detach-sig webkitbuilds/Copay-osx.dmg
gpg -u 1112CFA1 --output webkitbuilds/Copay-win.exe.sig --detach-sig webkitbuilds/Copay-win.exe
verify-desktop:
gpg --verify webkitbuilds/Copay-linux.zip.sig webkitbuilds/Copay-linux.zip
gpg --verify webkitbuilds/Copay-osx.dmg.sig webkitbuilds/Copay-osx.dmg
gpg --verify webkitbuilds/Copay-win.exe.sig webkitbuilds/Copay-win.exe
chrome:
browser-extensions/chrome/build.sh
cordova-base:
grunt dist-mobile
# ios: cordova-base
# make -C cordova ios
# open cordova/project/platforms/ios/Copay
#
# android: cordova-base
# make -C cordova run-android
#
# release-android: cordova-base
# make -C cordova release-android
#
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-prod:
cordova/build.sh IOS --clear
cd cordova/project && cordova build ios
open cordova/project/platforms/ios/Creditpay.xcodeproj
ios-debug:
cordova/build.sh IOS --dbgjs
cd cordova/project && cordova build ios
open cordova/project/platforms/ios/Creditpay.xcodeproj
android-prod:
cordova/build.sh ANDROID --clear
cd cordova/project && cordova build android --release
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore ../creditpay.keystore -signedjar cordova/project/platforms/android/build/outputs/apk/android-release-signed.apk cordova/project/platforms/android/build/outputs/apk/android-release-unsigned.apk creditpay_play
../Android/Sdk/build-tools/21.1.2/zipalign -v 4 cordova/project/platforms/android/build/outputs/apk/android-release-signed.apk cordova/project/platforms/android/build/outputs/apk/android-release-signed-aligned.apk
android-debug:
cordova/build.sh ANDROID --dbgjs --clear
cp ./etc/beep.ogg ./cordova/project/plugins/phonegap-plugin-barcodescanner/src/android/LibraryProject/res/raw/beep.ogg
cd cordova/project && cordova run android
android-debug-fast:
cordova/build.sh ANDROID --dbgjs
cp ./etc/beep.ogg ./cordova/project/plugins/phonegap-plugin-barcodescanner/src/android/LibraryProject/res/raw/beep.ogg
cd cordova/project && cordova run android