remove old safari dist task

This commit is contained in:
Kyle Spearrin 2019-10-01 20:14:49 -04:00
parent 4f9ac99c9a
commit 4040ec3e57
1 changed files with 0 additions and 23 deletions

View File

@ -234,29 +234,6 @@ function distSafariApp(cb, subBuildPath) {
});
}
function distSafariApp_old(cb) {
const buildPath = paths.dist + 'Safari/';
return del([buildPath + '**/*'])
.then(() => safariCopyAssets(paths.safari + '**/*', buildPath))
.then(() => safariCopyBuild(paths.build + '**/*', buildPath + 'safari/app'))
.then(() => {
const proc = child.spawn('xcodebuild', [
'-project',
buildPath + 'desktop.xcodeproj',
'-alltargets',
'-configuration',
'Release']);
stdOutProc(proc);
return new Promise((resolve) => proc.on('close', resolve));
}).then(() => {
return cb;
}, () => {
return cb;
});
}
function safariCopyAssets(source, dest) {
return new Promise((resolve, reject) => {
gulp.src(source)