mirror of
https://github.com/atom/atom.git
synced 2026-02-11 07:05:11 -05:00
20 lines
467 B
JavaScript
20 lines
467 B
JavaScript
const fs = require('fs-extra')
|
|
const path = require('path')
|
|
const CONFIG = require('../config')
|
|
|
|
module.exports = function () {
|
|
let srcPaths = [
|
|
path.join('benchmarks', 'benchmark-runner.js'),
|
|
path.join('dot-atom'),
|
|
path.join('exports'),
|
|
path.join('package.json'),
|
|
path.join('static'),
|
|
path.join('src'),
|
|
path.join('vendor')
|
|
]
|
|
|
|
for (const srcPath of srcPaths) {
|
|
fs.removeSync(path.join(CONFIG.intermediateAppPath, srcPath))
|
|
}
|
|
}
|