@Override
 protected void afterCommand() {
   BuckBuildManager buildManager = BuckBuildManager.getInstance(project());
   buildManager.setBuilding(project, false);
   buildManager.setKilling(project, false);
   BuckToolWindowFactory.outputConsoleMessage(
       project(), "Build aborted\n", ConsoleViewContentType.ERROR_OUTPUT);
 }
 @Override
 protected boolean beforeCommand() {
   if (!BuckBuildManager.getInstance(project()).isBuckProject(project)) {
     BuckToolWindowFactory.outputConsoleMessage(
         project(),
         BuckBuildManager.NOT_BUCK_PROJECT_ERROR_MESSAGE,
         ConsoleViewContentType.ERROR_OUTPUT);
     return false;
   }
   BuckBuildManager.getInstance(project()).setKilling(project, true);
   return true;
 }