Remove additional MonoDevelop files on clean
This commit is contained in:
parent
c02220e135
commit
1da7795d67
@ -22,6 +22,11 @@
|
||||
- Bug 2790882: Trailing slash in path.getabsolute (Ash Berlin)
|
||||
|
||||
|
||||
RC1 -> RC2
|
||||
|
||||
- Removed additional MonoDevelop files in clean action.
|
||||
|
||||
|
||||
-----
|
||||
4.0
|
||||
-----
|
||||
|
@ -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,
|
||||
}
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user