-
Notifications
You must be signed in to change notification settings - Fork 19
/
Makefile
72 lines (57 loc) · 2.39 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
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-osx:
codesign -s 3rd webkitbuilds/Copay-osx.dmg
verify-osx:
codesign -dv webkitbuilds/Copay-osx.dmg
sign-desktop:
gpg -u 1112CFA1 --output webkitbuilds/Copay-linux.zip.sig --detach-sig webkitbuilds/Copay-linux.zip
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-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/Copay.xcodeproj
ios-debug:
cordova/build.sh IOS --dbgjs
cd cordova/project && cordova build ios
open cordova/project/platforms/ios/Copay.xcodeproj
android-prod:
cordova/build.sh ANDROID --clear
rm -f cordova/project/platforms/android/build/outputs/apk/android-release-signed-aligned.apk
cd cordova/project && cordova build android --release
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore ../copay.keystore -signedjar cordova/project/platforms/android/build/outputs/apk/android-release-signed.apk cordova/project/platforms/android/build/outputs/apk/android-release-unsigned.apk copay_play
../android-sdk-macosx/build-tools/21.1.1/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
cd cordova/project && cordova run android
android-debug-fast:
cordova/build.sh ANDROID --dbgjs
cd cordova/project && cordova run android --device