From 04faf583c33d3239af65d90e3bdbe2031cf24497 Mon Sep 17 00:00:00 2001 From: Gabriel Bazan Date: Tue, 6 Sep 2016 17:47:21 -0300 Subject: [PATCH] fix grunt file --- Gruntfile.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 1ef8ef2cf..05df4524b 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -28,8 +28,11 @@ module.exports = function(grunt) { chrome: { command: 'make -C chrome-app ' }, - wp: { - command: 'make -C cordova wp', + wpinit: { + command: 'make -C cordova wp-init', + }, + wpcopy: { + command: 'make -C cordova wp-copy', }, ios: { command: 'make -C cordova ios', @@ -254,7 +257,8 @@ module.exports = function(grunt) { grunt.registerTask('osx', ['prod', 'nwjs', 'exec:osx']); grunt.registerTask('chrome', ['exec:chrome']); grunt.registerTask('wp', ['prod', 'exec:wp']); - grunt.registerTask('wp-debug', ['default', 'exec:wp']); + grunt.registerTask('wp-copy', ['default', 'exec:wpcopy']); + grunt.registerTask('wp-init', ['default', 'exec:wpinit']); grunt.registerTask('ios', ['prod', 'exec:ios']); grunt.registerTask('ios-debug', ['default', 'exec:ios']); grunt.registerTask('ios-run', ['exec:xcode']);