Remove additional MonoDevelop files on clean

This commit is contained in:
starkos 2009-06-08 14:47:25 +00:00
parent c02220e135
commit 1da7795d67
3 changed files with 13 additions and 6 deletions

View File

@ -22,6 +22,11 @@
- Bug 2790882: Trailing slash in path.getabsolute (Ash Berlin)
RC1 -> RC2
- Removed additional MonoDevelop files in clean action.
-----
4.0
-----

View File

@ -142,10 +142,12 @@
-- Clean Visual Studio files
--
function _VS.onclean(solutions, projects, targets)
function premake.vstudio_clean(solutions, projects, targets)
for _,name in ipairs(solutions) do
os.remove(name .. ".suo")
os.remove(name .. ".ncb")
os.remove(name .. ".userprefs") -- MonoDevelop files
os.remove(name .. ".usertasks")
end
for _,name in ipairs(projects) do
@ -335,7 +337,7 @@
{ ".csproj.user", premake.vs2002_csproj_user, function(this) return this.language == "C#" end },
},
onclean = _VS.onclean,
onclean = premake.vstudio_clean,
}
newaction {
@ -363,7 +365,7 @@
{ ".csproj.user", premake.vs2002_csproj_user, function(this) return this.language == "C#" end },
},
onclean = _VS.onclean,
onclean = premake.vstudio_clean,
}
newaction {
@ -391,7 +393,7 @@
{ ".csproj.user", premake.vs2005_csproj_user, function(this) return this.language == "C#" end },
},
onclean = _VS.onclean,
onclean = premake.vstudio_clean,
}
newaction {
@ -419,5 +421,5 @@
{ ".csproj.user", premake.vs2005_csproj_user, function(this) return this.language == "C#" end },
},
onclean = _VS.onclean,
onclean = premake.vstudio_clean,
}

View File

@ -1,7 +1,7 @@
/**
* \file premake.c
* \brief Program entry point.
* \author Copyright (c) 2002-2008 Jason Perkins and the Premake project
* \author Copyright (c) 2002-2009 Jason Perkins and the Premake project
*/
#include <stdlib.h>