From 5dd8c1c88a638ce74f74b69a019dabe3282764fa Mon Sep 17 00:00:00 2001 From: pajlada Date: Sun, 17 Dec 2023 13:37:30 +0100 Subject: [PATCH] dev: Rename `tools` directory to `scripts` (#5035) --- .github/workflows/check-formatting.yml | 2 +- CHANGELOG.md | 1 + scripts/README.md | 3 +++ {tools => scripts}/build-docker-images.sh | 0 {tools => scripts}/check-format.sh | 0 {tools => scripts}/check-line-endings.sh | 0 {tools => scripts}/clang-format-all.sh | 0 {tools => scripts}/get-tlds-update.sh | 0 {tools => scripts}/update-emoji-data.sh | 0 {tools => scripts}/windows-fix-directory-case-sensitivity.sh | 0 10 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 scripts/README.md rename {tools => scripts}/build-docker-images.sh (100%) rename {tools => scripts}/check-format.sh (100%) rename {tools => scripts}/check-line-endings.sh (100%) rename {tools => scripts}/clang-format-all.sh (100%) rename {tools => scripts}/get-tlds-update.sh (100%) mode change 100644 => 100755 rename {tools => scripts}/update-emoji-data.sh (100%) rename {tools => scripts}/windows-fix-directory-case-sensitivity.sh (100%) mode change 100644 => 100755 diff --git a/.github/workflows/check-formatting.yml b/.github/workflows/check-formatting.yml index ca8789627..9a3a36685 100644 --- a/.github/workflows/check-formatting.yml +++ b/.github/workflows/check-formatting.yml @@ -33,4 +33,4 @@ jobs: clangFormatVersion: 16 - name: Check line-endings - run: ./tools/check-line-endings.sh + run: ./scripts/check-line-endings.sh diff --git a/CHANGELOG.md b/CHANGELOG.md index dc91a19d6..409c4b3f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -82,6 +82,7 @@ - Dev: Refactor `DebugCount` and add copy button to debug popup. (#4921) - Dev: Refactor `common/Credentials`. (#4979) - Dev: Changed lifetime of context menus. (#4924) +- Dev: Renamed `tools` directory to `scripts`. (#5035) - Dev: Refactor `ChannelView`, removing a bunch of clang-tidy warnings. (#4926) - Dev: Refactor `IrcMessageHandler`, removing a bunch of clang-tidy warnings & changing its public API. (#4927) - Dev: `Details` file properties tab is now populated on Windows. (#4912) diff --git a/scripts/README.md b/scripts/README.md new file mode 100644 index 000000000..92192ef35 --- /dev/null +++ b/scripts/README.md @@ -0,0 +1,3 @@ +# scripts + +This directory contains scripts that may be useful for a contributor to run while working on Chatterino diff --git a/tools/build-docker-images.sh b/scripts/build-docker-images.sh similarity index 100% rename from tools/build-docker-images.sh rename to scripts/build-docker-images.sh diff --git a/tools/check-format.sh b/scripts/check-format.sh similarity index 100% rename from tools/check-format.sh rename to scripts/check-format.sh diff --git a/tools/check-line-endings.sh b/scripts/check-line-endings.sh similarity index 100% rename from tools/check-line-endings.sh rename to scripts/check-line-endings.sh diff --git a/tools/clang-format-all.sh b/scripts/clang-format-all.sh similarity index 100% rename from tools/clang-format-all.sh rename to scripts/clang-format-all.sh diff --git a/tools/get-tlds-update.sh b/scripts/get-tlds-update.sh old mode 100644 new mode 100755 similarity index 100% rename from tools/get-tlds-update.sh rename to scripts/get-tlds-update.sh diff --git a/tools/update-emoji-data.sh b/scripts/update-emoji-data.sh similarity index 100% rename from tools/update-emoji-data.sh rename to scripts/update-emoji-data.sh diff --git a/tools/windows-fix-directory-case-sensitivity.sh b/scripts/windows-fix-directory-case-sensitivity.sh old mode 100644 new mode 100755 similarity index 100% rename from tools/windows-fix-directory-case-sensitivity.sh rename to scripts/windows-fix-directory-case-sensitivity.sh