diff --git a/.gitignore b/.gitignore index ee6b361..154e21e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ .vs **Makefile **vcxproj +**.vcxproj.filters *sln bin bin-int \ No newline at end of file diff --git a/premake5.lua b/premake5.lua index 258f8df..0624234 100644 --- a/premake5.lua +++ b/premake5.lua @@ -16,4 +16,17 @@ include "bakanet" include "sandbox/client" include "sandbox/server" +newaction { + trigger = "clean", + description = "Clean the build", + execute = function() + print("Cleaning...") + os.rmdir("./bin") + os.rmdir("./bin-int") + os.remove("**.sln") + os.remove("**.vcxproj") + os.remove("**.vcxproj.filters") + print("Done.") + end +} \ No newline at end of file