add --debug switch to anduril build

Issue #15 wontfix
Ville Rantanen created an issue

by default all extra generated content should be deleted after successfull build. Only if users wishes to --debug, they are left around..

folders to be deleted: * classes * target * generated-src * project

Comments (4)

  1. Kristian Ovaska

    Why should they be deleted by default? SBT can use existing compiled files if they are present, and is forced to compile everything if they are removed. It looks at source file content and not only timestamps.

  2. Ville Rantanen

    mostly, it's just a lot of unneeded scatter. also, bundle doesnt need compilation unless component.xml or function script changes. (or datatypes). I wouldn't have the extra files hanging around, but if you think they speed up building significantly, then lets keep them.

  3. Kristian Ovaska

    Yes, it affects compile times a lot, which has an effect when you are developing a bundle. I close this one, but you can implement anduril build --clean if you want.

  4. Log in to comment