From ca400dec278cb5f9135871b89a57b07aa5c3d53b Mon Sep 17 00:00:00 2001 From: bnu Date: Thu, 5 Dec 2013 10:47:59 +0900 Subject: [PATCH] =?UTF-8?q?NOISSUE.=20build=20=EC=8B=9C=20board=20?= =?UTF-8?q?=EB=AA=A8=EB=93=88=EC=9D=84=20=ED=8F=AC=ED=95=A8=ED=95=98?= =?UTF-8?q?=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Gruntfile.js | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 08c30780d..f5821fad5 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -213,7 +213,7 @@ module.exports = function(grunt) { grunt.registerTask('build', '', function(A, B) { var _only_export = false; - var tasks = ['krzip', 'syndication']; + var tasks = ['board', 'krzip', 'syndication']; if(!A) { grunt.fail.warn('Undefined build target.'); @@ -330,10 +330,19 @@ module.exports = function(grunt) { cmd: "tar", args: ['xf', 'build/temp.full.tar', '-C', 'build/xe'] }, function (error, result, code) { + // board + grunt.util.spawn({ + cmd: "git", + args: ['clone', '-b', 'master', 'git@github.com:xpressengine/xe-module-board.git', 'build/xe/modules/board'] + }, function (error, result, code) { + grunt.file.delete('build/xe/modules/board/.git'); + taskDone(); + }); + // krzip grunt.util.spawn({ cmd: "git", - args: ['clone', 'git@github.com:xpressengine/xe-module-krzip.git', 'build/xe/modules/krzip'] + args: ['clone', '-b', 'master', 'git@github.com:xpressengine/xe-module-krzip.git', 'build/xe/modules/krzip'] }, function (error, result, code) { grunt.file.delete('build/xe/modules/krzip/.git'); taskDone(); @@ -342,7 +351,7 @@ module.exports = function(grunt) { // syndication grunt.util.spawn({ cmd: "git", - args: ['clone', 'git@github.com:xpressengine/xe-module-syndication.git', 'build/xe/modules/syndication'] + args: ['clone', '-b', 'master', 'git@github.com:xpressengine/xe-module-syndication.git', 'build/xe/modules/syndication'] }, function (error, result, code) { grunt.file.delete('build/xe/modules/syndication/.git'); taskDone();