From 27f6414ad1ff451feb0044af62f37dc2a6255ffa Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Thu, 5 Feb 2026 22:35:05 +0800 Subject: Remove examples and legacy code, update .gitignore - Delete examples directory and its example action system - Rename actions/ to legacy_actions/ and data/ to legacy_data/ - Update Cargo.toml license file reference - Move setup scripts to scripts/dev/ directory - Add todo.txt patterns to .gitignore --- scripts/dev/setup.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 scripts/dev/setup.sh (limited to 'scripts/dev/setup.sh') diff --git a/scripts/dev/setup.sh b/scripts/dev/setup.sh new file mode 100644 index 0000000..5c7973e --- /dev/null +++ b/scripts/dev/setup.sh @@ -0,0 +1,12 @@ +# Change to the directory where the script is located +cd "$(dirname "$0")/../../" || exit 1 + +# Setup documents repo +if [ -d "docs/Documents/.git" ]; then + cd docs/Documents + git fetch origin main + git reset --hard origin/main + cd - +else + git clone https://github.com/JustEnoughVCS/Documents.git docs/Documents +fi -- cgit