panda script improvement - #433
Conversation
|
Doesn't Gradle already have a tool for that? Or something like that? |
|
I don't really know about gradle too much to have a solid answer but I think it also does other things like purge some package caches or what not. Just removing the folders manually can be sure that what you want – deleting the build files – is actually what happens. If the The important part of this PR is not the addition of the new |
1a4f674 to
a218a07
Compare
21c901a to
acfb8d0
Compare
old "clean" is now "distclean", as canonically "clean" should only remove build files and not your current working state. Not fun when you don't RTFM and assume "clean" does what it usually does but nukes your work instead. "clean" is now a new command that just removes the build files under PandaSpigot-API/build and PandaSpigot-Server/build, leaving your working state intact, as you'd expect.
old
cleanis nowdistclean, as canonically "clean" should only remove build files and not your current working state. Not fun when you don't RTFM and assume "clean" does what it usually does but nukes your work instead.cleanis now a new command that just removes the build files under PandaSpigot-API/build and PandaSpigot-Server/build, leaving your working state intact, as you'd expect.