From 1da7795d67d5134a51b9851d6a5ee2be4e1b171d Mon Sep 17 00:00:00 2001 From: starkos Date: Mon, 8 Jun 2009 14:47:25 +0000 Subject: [PATCH] Remove additional MonoDevelop files on clean --- CHANGES.txt | 5 +++++ src/actions/vstudio/_vstudio.lua | 12 +++++++----- src/host/premake.c | 2 +- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index b4eee7b7..cd3fafb6 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -22,6 +22,11 @@ - Bug 2790882: Trailing slash in path.getabsolute (Ash Berlin) +RC1 -> RC2 + +- Removed additional MonoDevelop files in clean action. + + ----- 4.0 ----- diff --git a/src/actions/vstudio/_vstudio.lua b/src/actions/vstudio/_vstudio.lua index 3521e8c9..118250a7 100644 --- a/src/actions/vstudio/_vstudio.lua +++ b/src/actions/vstudio/_vstudio.lua @@ -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, } diff --git a/src/host/premake.c b/src/host/premake.c index 8755ee7a..859167fd 100644 --- a/src/host/premake.c +++ b/src/host/premake.c @@ -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