Premake5 add clean action

winsock_test
ZimPoPo ago%!(EXTRA string=1 year)
parent 45aab99712
commit 861bbd0a4c
No known key found for this signature in database
GPG Key ID: C0FB08DFF342B693
  1. 1
      .gitignore
  2. 13
      premake5.lua

1
.gitignore vendored

@ -1,6 +1,7 @@
.vs
**Makefile
**vcxproj
**.vcxproj.filters
*sln
bin
bin-int

@ -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
}
Loading…
Cancel
Save