Buck: buck clean

buck clean

Deletes all files generated by Buck.

Buck keeps all of its deliverables and state in files, so deleting those files is guaranteed to reset Buck's state so that a "clean build" can be performed. The set of files where Buck stores its output may change over time, but buck clean will always remove the appropriate files for the current version.


  • --project (-p) Delete the directories generated by buck project. This will not remove any .iml files, nor any files under .idea for IntelliJ.
  • --verbose (-v) How verbose logging to the console should be, with 1 as the minimum and 10 as the most verbose.