From b5b9087150ad7d79c2ef1c6afe779222f4608d49 Mon Sep 17 00:00:00 2001 From: HedgehogInTheCPP Date: Thu, 20 Aug 2026 02:10:18 +0300 Subject: [PATCH] delete unusual scripts --- format_code.cmd | 10 ---------- format_code.sh | 11 ----------- 2 files changed, 21 deletions(-) delete mode 100644 format_code.cmd delete mode 100644 format_code.sh diff --git a/format_code.cmd b/format_code.cmd deleted file mode 100644 index 3c8fdb3..0000000 --- a/format_code.cmd +++ /dev/null @@ -1,10 +0,0 @@ -@echo off -echo Formatting all C/C++ files recursively... - -for /r %%i in (*.cpp *.h *.hpp *.cc *.c) do ( - echo Formatting: %%i - clang-format -i -style=file "%%i" -) - -echo Formatting complete! -pause diff --git a/format_code.sh b/format_code.sh deleted file mode 100644 index a608441..0000000 --- a/format_code.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash -echo "Formatting all C/C++ files recursively..." - -# Find and format files using an optimized execution loop -find . -type f \( -name "*.cpp" -o -name "*.h" -o -name "*.hpp" -o -name "*.cc" -o -name "*.c" \) -exec echo "Formatting: {}" \; -exec clang-format -style=file -i {} \; - -echo "Formatting complete!" - -# Pause analog: waits for a single keypress (-n 1) and hides the input (-s) -echo "Press any key to continue . . ." -read -n 1 -s -r \ No newline at end of file