So it used to be that from the command line, swift build --clean would clean the build by removing the .build directory. You could also pass --clean=dist to get rid of the packages as well.
I just upgraded to Swift 4 and these are apparently gone. Has it been rolled into a subcommand or something? Can anyone point me to some docs on this? I couldn't find them...
Actually, I couldn't find docs on the subcommands at all. I know swift run and swift package were introduced. Anyone know where a complete documentation of these and other commands are? I find bits and pieces described in various places, but haven't found the complete doc (that hopefully exists somewhere)