From 4040ec3e575ae8d2514ccd97acf14ade006b3e22 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 1 Oct 2019 20:14:49 -0400 Subject: [PATCH] remove old safari dist task --- gulpfile.js | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index b3ffcb0b30..39870026e0 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -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)