remove old debug build steps
diff --git a/tasks/lib/packager-browserify.js b/tasks/lib/packager-browserify.js
index 4d24592..d26f35d 100644
--- a/tasks/lib/packager-browserify.js
+++ b/tasks/lib/packager-browserify.js
@@ -40,9 +40,6 @@
if (!fs.existsSync('pkg')) {
fs.mkdirSync('pkg');
}
- // if(!fs.existsSync('pkg/debug')) {
- // fs.mkdirSync('pkg/debug');
- // }
outReleaseFile = path.join('pkg', 'cordova.' + platform + '.js');
outReleaseFileStream = fs.createWriteStream(outReleaseFile);
@@ -59,15 +56,5 @@
console.log('generated cordova.' + platform + '.js @ ' + commitId + ' in ' + newtime + 'ms');
done();
});
-
- // outDebugFile = path.join('pkg', 'debug', 'cordova.' + platform + '-debug.js');
- // outDebugFileStream = fs.createWriteStream(outDebugFile);
- // debugBundle = libraryDebug.bundle();
- // debugBundle.pipe(outDebugFileStream);
-
- // outDebugFileStream.on('end', function() {
- // var newtime = new Date().valueOf() - time;
- // console.log('generated cordova.' + platform + '-debug.js @ ' + commitId + ' in ' + newtime + 'ms');
- // });
});
}
diff --git a/tasks/lib/packager.js b/tasks/lib/packager.js
index 5461773..2c11665 100644
--- a/tasks/lib/packager.js
+++ b/tasks/lib/packager.js
@@ -32,21 +32,15 @@
if(useWindowsLineEndings) {
libraryRelease = "\ufeff" + libraryRelease.split(/\r?\n/).join("\r\n");
}
- var libraryDebug = bundle(platform, true, commitId, platformVersion, platformPath);
-
+
time = new Date().valueOf() - time;
if (!fs.existsSync('pkg')) {
fs.mkdirSync('pkg');
}
- if(!fs.existsSync('pkg/debug')) {
- fs.mkdirSync('pkg/debug');
- }
outFile = path.join('pkg', 'cordova.' + platform + '.js');
fs.writeFileSync(outFile, libraryRelease, 'utf8');
- outFile = path.join('pkg', 'debug', 'cordova.' + platform + '-debug.js');
- fs.writeFileSync(outFile, libraryDebug, 'utf8');
console.log('generated cordova.' + platform + '.js @ ' + commitId + ' in ' + time + 'ms');
callback();