var dest = this.file.dest;
var src = template.process(this.file.src, config());
- task.helper("child_process", {
+ utils.spawn({
cmd: "zip",
args: ["-r", dest, src],
opts: {
// var zip = new AdmZip(zipFileName);
// zip.extractAllTo('dist/tmp/' + index + '/');
// until then, using cli unzip...
- task.helper("child_process", {
+ utils.spawn({
cmd: "unzip",
args: ["-d", "dist/tmp/" + index, zipFileName]
}, function(err, result) {
});
});
task.registerHelper("git_current_branch", function(done) {
- task.helper("child_process", {
+ utils.spawn({
cmd: "git",
args: ["branch", "--no-color"]
}, function(err, result) {