mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-12-28 00:52:29 +03:00
Remove ~/.atom outside of tasks
This commit is contained in:
parent
04eef20c84
commit
344d237a42
@ -28,10 +28,10 @@ readEnvironmentVariables();
|
|||||||
cp.safeExec.bind(global, 'node script/bootstrap', function(error) {
|
cp.safeExec.bind(global, 'node script/bootstrap', function(error) {
|
||||||
if (error)
|
if (error)
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
|
require('fs-plus').removeSync.bind(global, path.join(homeDir, '.atom'))
|
||||||
var async = require('async');
|
var async = require('async');
|
||||||
var gruntPath = path.join('build', 'node_modules', '.bin', 'grunt') + (process.platform === 'win32' ? '.cmd' : '');
|
var gruntPath = path.join('build', 'node_modules', '.bin', 'grunt') + (process.platform === 'win32' ? '.cmd' : '');
|
||||||
var tasks = [
|
var tasks = [
|
||||||
require('fs-plus').removeSync.bind(global, path.join(homeDir, '.atom')),
|
|
||||||
cp.safeExec.bind(global, 'git clean -dff'),
|
cp.safeExec.bind(global, 'git clean -dff'),
|
||||||
cp.safeExec.bind(global, gruntPath + ' ci --gruntfile build/Gruntfile.coffee --stack --no-color'),
|
cp.safeExec.bind(global, gruntPath + ' ci --gruntfile build/Gruntfile.coffee --stack --no-color'),
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user