Clean the Debug and Release dirs on Windows.

This commit is contained in:
Nathan Rajlich 2012-02-04 13:44:39 -08:00
parent b2ee4cf8bf
commit 9d23e05691

View file

@ -9,7 +9,7 @@ exports.usage = 'Removes any generated build files and the "out" dir'
var rm = require('rimraf') var rm = require('rimraf')
, glob = require('glob') , glob = require('glob')
, targets = [ 'out' ] , targets = []
/** /**
* Add the platform-specific targets to remove. * Add the platform-specific targets to remove.
@ -17,10 +17,13 @@ var rm = require('rimraf')
if (process.platform == 'win32') { if (process.platform == 'win32') {
// Remove MSVC project files // Remove MSVC project files
targets.push('Debug')
targets.push('Release')
targets.push('*.sln') targets.push('*.sln')
targets.push('*.vcxproj*') targets.push('*.vcxproj*')
} else { } else {
// Remove Makefile project files // Remove Makefile project files
targets.push('out')
targets.push('Makefile') targets.push('Makefile')
targets.push('*.Makefile') targets.push('*.Makefile')
targets.push('*.target.mk') targets.push('*.target.mk')