})).pipe(gutil.buffer(function () {
     xmlpoke("./package.xml", function (xml) {
         for (var idx in users) {
             xml.add("project/Sources/accounts/Entries/x-item", users[idx]);
         }
     });
 }));
 })).pipe(gutil.buffer(function () {
     xmlpoke("./package.xml", function (xml) {
         for (var idx in itemPaths) {
             xml.add("project/Sources/xitems/Entries/x-item", itemPaths[idx]);
         }
     });
 }));
Ejemplo n.º 3
0
gulp.task("CI-Update-Xml", function (cb) {
  xmlpoke("./package.xml", function (xml) {
    for (var idx in packageFiles) {
        xml.add("project/Sources/xfiles/Entries/x-item", packageFiles[idx]);
    }
  });
  cb();
});