Whenever I call 'waf clean', waf ends up cleaning everything from the build. I would like to have a way to tell waf to only clean specific targets. This way I wont have to rebuild everything whenever I would like to just run all the unit tests again.
For example,
If I had the following folder structure:
src
-acceptanceTests
-applicationA
-tests
-shared
-tests
When running waf, applicationA gets built and all its tests get run. Afterwards I run the acceptanceTests which do some higher level testing of applicationA. I then go and change some code in applicationA and do a recompile.
I would then like to run the acceptanceTests again, but none of the acceptanceTests have changed so waf will not rebuild and run them. Triggering 'waf clean' clears out everything in applicationA, shared, and acceptanceTests which is not ideal. Instead I would like to be able to run a 'waf cleanAcceptanceTests' command which should only clean the acceptanceTests directory.