clear_build.sh 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. cd src/common
  2. project_path=$(pwd)
  3. project_name="${project_path##*/}"
  4. echo $project_path
  5. #echo $project_name
  6. ls build-*
  7. find $project_path -name 'build-*' -type d | xargs rm -rf
  8. cd ../../
  9. cd src/driver
  10. project_path=$(pwd)
  11. project_name="${project_path##*/}"
  12. echo $project_path
  13. #echo $project_name
  14. ls build-*
  15. find $project_path -name 'build-*' -type d | xargs rm -rf
  16. cd ../../
  17. cd src/detection
  18. project_path=$(pwd)
  19. project_name="${project_path##*/}"
  20. echo $project_path
  21. #echo $project_name
  22. ls build-*
  23. find $project_path -name 'build-*' -type d | xargs rm -rf
  24. cd ../../
  25. cd src/fusion
  26. project_path=$(pwd)
  27. project_name="${project_path##*/}"
  28. echo $project_path
  29. #echo $project_name
  30. ls build-*
  31. find $project_path -name 'build-*' -type d | xargs rm -rf
  32. cd ../../
  33. cd src/tool
  34. project_path=$(pwd)
  35. project_name="${project_path##*/}"
  36. echo $project_path
  37. #echo $project_name
  38. ls build-*
  39. find $project_path -name 'build-*' -type d | xargs rm -rf
  40. cd ../../
  41. cd src/decition
  42. project_path=$(pwd)
  43. project_name="${project_path##*/}"
  44. echo $project_path
  45. #echo $project_name
  46. ls build-*
  47. find $project_path -name 'build-*' -type d | xargs rm -rf
  48. cd ../../