Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/premake-4.x-stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/clean/_clean.lua')
-rw-r--r--src/actions/clean/_clean.lua20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/actions/clean/_clean.lua b/src/actions/clean/_clean.lua
index 0e0ead0..fc53d09 100644
--- a/src/actions/clean/_clean.lua
+++ b/src/actions/clean/_clean.lua
@@ -59,6 +59,26 @@
onproject = function(prj)
for action in premake.action.each() do
+ -- io.write(action.trigger ..'\n')
+ if action.trigger =="vs2010" then
+ if action.oncleanproject then
+ io.write('vs2010 has an on clean and we are going to call it\n')
+ else
+ io.write('vs2010 does not have an on clean\n')
+ end
+ if action.oncleansolution then
+ io.write('vs2010 has an oncleansolution and we are going to call it\n')
+ else
+ io.write('vs2010 does not have an oncleansolution\n')
+ end
+ if action.oncleantarget then
+ io.write('vs2010 has an oncleantarget and we are going to call it\n')
+ else
+ io.write('vs2010 does not have an oncleantarget\n')
+ end
+
+
+ end
if action.oncleanproject then
action.oncleanproject(prj)
end