Skip to content
Snippets Groups Projects
Commit 2e90e25a authored by Andrews Cordolino Sobral's avatar Andrews Cordolino Sobral
Browse files

Updated build dir

parent 4bab70eb
No related branches found
No related tags found
No related merge requests found
...@@ -2,4 +2,5 @@ ...@@ -2,4 +2,5 @@
* *
# Except these files # Except these files
!.gitignore !.gitignore
!.uninstall-from-cmake.sh !uninstall-from-cmake.sh
!clean.sh
\ No newline at end of file
#!/bin/bash
# Navigating to the script's directory (if needed)
# cd "$(dirname "$0")"
# Exclude files from deletion
excludes=( ".gitignore" "uninstall-from-cmake.sh" "clean.sh" )
# Create the find command excluding specified files
find_command="find . -mindepth 1"
for exclude in "${excludes[@]}"; do
find_command+=" ! -name $exclude"
done
# Append action to delete
find_command+=" -delete"
# Execute the command
eval $find_command
echo "Directory cleaned, except for specified exclusions."
File moved
Subproject commit 8a099e44b3d5f85b20f05828d919d2332a8de841 Subproject commit 65bbd4e0b210655a981be91ae2d3daca358f30f8
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment