0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-30 19:56:28 +00:00
OI-codes/clean.sh

11 lines
533 B
Bash
Raw Normal View History

#!/bin/bash
echo -e "\033[42;30m INFO \033[0m Starting to delete executables generated by compilation."
find $(git rev-parse --show-toplevel) -name '*.exe' -type f -print -exec rm {} \;
echo -e "\033[42;30m INFO \033[0m Successfully deleted executables generated by compilation."
2021-07-24 07:54:06 +00:00
echo -e ""
echo -e "\033[42;30m INFO \033[0m Starting to delete temp code files."
find $(git rev-parse --show-toplevel) -name 'tempCodeRunnerFile*' -type f -print -exec rm {} \;
echo -e "\033[42;30m INFO \033[0m Successfully deleted temp code files."