0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-24 19:51:58 +00:00
OI-codes/clean.sh

11 lines
533 B
Bash

#!/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."
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."