No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

cleanup.sh 571B

12345678910111213141516
  1. # This script is useful for cleaning up the 'project'
  2. # directory of a Digilent Vivado-project git repository
  3. ###
  4. # Run the following command to change permissions of
  5. # this 'cleanup' file if needed:
  6. # chmod u+x cleanup.sh
  7. ###
  8. # Remove directories/subdirectories
  9. find . -mindepth 1 -type d -exec rm -rf {} +
  10. # Remove any other files than:
  11. find . -type f ! -name 'cleanup.sh' \
  12. ! -name 'cleanup.cmd' \
  13. ! -name 'create_project.tcl' \
  14. ! -name 'release.py' \
  15. ! -name '.gitignore' \
  16. -exec rm -rf {} +