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