0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-24 04:48:52 +00:00

[Upd] Clean all executables under git root directory

This commit is contained in:
Baoshuo Ren 2021-07-22 20:24:13 +08:00 committed by Baoshuo Ren
parent 9a30ef8be9
commit cec0ccdbdd
Signed by: baoshuo
GPG Key ID: 70F90A673FB1AB68

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
echo -e "\033[42;30m INFO \033[0m Starting to delete executables generated by compilation." echo -e "\033[42;30m INFO \033[0m Starting to delete executables generated by compilation."
find . -name '*.exe' -type f -print -exec rm {} \; 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 "\033[42;30m INFO \033[0m Successfully deleted executables generated by compilation."