Merge pull request #34 from TurkeyMan/override_clean

Made the clean functions overridable
This commit is contained in:
starkos 2015-04-13 13:00:00 -04:00
commit 545b2901f0
4 changed files with 39 additions and 14 deletions

View File

@ -127,12 +127,19 @@
onProject = function(prj)
vstudio.vs2010.generateProject(prj)
end,
onRule = function(rule)
vstudio.vs2010.generateRule(rule)
end,
onRule = vstudio.vs2010.generateRule,
onCleanSolution = vstudio.cleanSolution,
onCleanProject = vstudio.cleanProject,
onCleanTarget = vstudio.cleanTarget,
onCleanSolution = function(sln)
vstudio.cleanSolution(sln)
end,
onCleanProject = function(prj)
vstudio.cleanProject(prj)
end,
onCleanTarget = function(prj)
vstudio.cleanTarget(prj)
end,
pathVars = vstudio.pathVars,

View File

@ -44,9 +44,15 @@
vstudio.vs2010.generateProject(prj)
end,
onCleanSolution = vstudio.cleanSolution,
onCleanProject = vstudio.cleanProject,
onCleanTarget = vstudio.cleanTarget,
onCleanSolution = function(sln)
vstudio.cleanSolution(sln)
end,
onCleanProject = function(prj)
vstudio.cleanProject(prj)
end,
onCleanTarget = function(prj)
vstudio.cleanTarget(prj)
end,
pathVars = vstudio.pathVars,

View File

@ -46,9 +46,15 @@
vstudio.vs2010.generateProject(prj)
end,
onCleanSolution = vstudio.cleanSolution,
onCleanProject = vstudio.cleanProject,
onCleanTarget = vstudio.cleanTarget,
onCleanSolution = function(sln)
vstudio.cleanSolution(sln)
end,
onCleanProject = function(prj)
vstudio.cleanProject(prj)
end,
onCleanTarget = function(prj)
vstudio.cleanTarget(prj)
end,
pathVars = vstudio.pathVars,

View File

@ -46,9 +46,15 @@
vstudio.vs2010.generateProject(prj)
end,
onCleanSolution = vstudio.cleanSolution,
onCleanProject = vstudio.cleanProject,
onCleanTarget = vstudio.cleanTarget,
onCleanSolution = function(sln)
vstudio.cleanSolution(sln)
end,
onCleanProject = function(prj)
vstudio.cleanProject(prj)
end,
onCleanTarget = function(prj)
vstudio.cleanTarget(prj)
end,
pathVars = vstudio.pathVars,