mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
배포본 생성 변경
This commit is contained in:
parent
a13e4eb946
commit
231e4e0bd6
1 changed files with 8 additions and 6 deletions
14
Gruntfile.js
14
Gruntfile.js
|
|
@ -259,9 +259,10 @@ module.exports = function(grunt) {
|
|||
if(tasks.length === 0) {
|
||||
grunt.util.spawn({
|
||||
cmd: "tar",
|
||||
args: ['cfz', 'xe.'+version+'.tar.gz', 'xe/'],
|
||||
args: ['cfz', '../xe.'+version+'.tar.gz', './'],
|
||||
opts: {
|
||||
cwd: 'build'
|
||||
cwd: 'build/xe',
|
||||
cache: false
|
||||
}
|
||||
}, function (error, result, code) {
|
||||
grunt.log.ok('Archived(full) : ' + build_dir + '/xe.'+version+'.tar.gz');
|
||||
|
|
@ -269,9 +270,10 @@ module.exports = function(grunt) {
|
|||
|
||||
grunt.util.spawn({
|
||||
cmd: "zip",
|
||||
args: ['-r', 'xe.'+version+'.zip', 'xe/'],
|
||||
args: ['-r', '../xe.'+version+'.zip', './'],
|
||||
opts: {
|
||||
cwd: 'build'
|
||||
cwd: 'build/xe',
|
||||
cache: false
|
||||
}
|
||||
}, function (error, result, code) {
|
||||
grunt.log.ok('Archived(full) : ' + build_dir + '/xe.'+version+'.zip');
|
||||
|
|
@ -313,8 +315,8 @@ module.exports = function(grunt) {
|
|||
|
||||
// changed
|
||||
if(diff.length) {
|
||||
var args_tar = ['archive', '--prefix=xe/', '-o', 'build/xe.'+version+'.changed.tar.gz', version];
|
||||
var args_zip = ['archive', '--prefix=xe/', '-o', 'build/xe.'+version+'.changed.zip', version];
|
||||
var args_tar = ['archive', '-o', 'build/xe.'+version+'.changed.tar.gz', version];
|
||||
var args_zip = ['archive', '-o', 'build/xe.'+version+'.changed.zip', version];
|
||||
args_tar = args_tar.concat(diff);
|
||||
args_zip = args_zip.concat(diff);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue