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.
12345678910111213141516 |
- # This script is useful for cleaning up the 'project'
- # directory of a Digilent Vivado-project git repository
- ###
- # Run the following command to change permissions of
- # this 'cleanup' file if needed:
- # chmod u+x cleanup.sh
- ###
- # Remove directories/subdirectories
- find . -mindepth 1 -type d -exec rm -rf {} +
- # Remove any other files than:
- find . -type f ! -name 'cleanup.sh' \
- ! -name 'cleanup.cmd' \
- ! -name 'create_project.tcl' \
- ! -name 'release.py' \
- ! -name '.gitignore' \
- -exec rm -rf {} +
|