build(grunt): correct grunt commands

This commit is contained in:
Jason Dreyzehner 2016-10-06 00:47:00 -04:00
parent de6e8062d5
commit efcfb37ebf
2 changed files with 5 additions and 6 deletions

View File

@ -34,7 +34,7 @@ module.exports = function(grunt) {
wpcopy: {
command: 'make -C cordova wp-copy',
},
ios-debug: {
iosdebug: {
command: 'npm run build:ios',
},
ios: {
@ -43,7 +43,7 @@ module.exports = function(grunt) {
xcode: {
command: 'npm run open:ios',
},
android-debug: {
androiddebug: {
command: 'npm run build:android',
},
android: {
@ -268,11 +268,11 @@ module.exports = function(grunt) {
grunt.registerTask('wp-copy', ['default', 'exec:wpcopy']);
grunt.registerTask('wp-init', ['default', 'exec:wpinit']);
grunt.registerTask('ios', ['exec:ios']);
grunt.registerTask('ios-debug', ['exec:ios-debug']);
grunt.registerTask('ios-debug', ['exec:iosdebug']);
grunt.registerTask('ios-run', ['exec:xcode']);
grunt.registerTask('cordovaclean', ['exec:cordovaclean']);
grunt.registerTask('android-debug', ['exec:android-debug', 'exec:androidrun']);
grunt.registerTask('android', ['exec:android-release']);
grunt.registerTask('android-debug', ['exec:androiddebug', 'exec:androidrun']);
grunt.registerTask('android', ['exec:android']);
grunt.registerTask('android-release', ['prod', 'exec:android', 'exec:androidsign']);
grunt.registerTask('desktopsign', ['exec:desktopsign', 'exec:desktopverify']);

View File

@ -79,7 +79,6 @@
"final:www": "npm run clean && npm run build:www-release",
"final:ios": "npm run final:www && npm run build:ios-release && npm run open:ios",
"final:android": "npm run final:www && npm run build:android-release && npm run open:android",
"final:all-mac": "npm run final:www npm run build:ios-release npm run build:android-release && npm run open:ios && npm run open:android",
"run:android": "cordova run android --device",
"log:android": "adb logcat | grep chromium",
"apply:copay": "cd app-template && node apply.js",