diff options
| author | 魏曹先生 <1992414357@qq.com> | 2025-12-06 03:28:52 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2025-12-06 03:28:52 +0800 |
| commit | dd911508e6f364aee9606cba7e0a33763670fffa (patch) | |
| tree | b4cf20968a198c9e22bcb180bc1468607677eabf | |
| parent | 2811ac2d6dfe737fa3c5b2e88c56c0bb26c0882b (diff) | |
Add Windows build script for documents repository setup
| -rw-r--r-- | setup.ps1 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/setup.ps1 b/setup.ps1 new file mode 100644 index 0000000..dd25785 --- /dev/null +++ b/setup.ps1 @@ -0,0 +1,8 @@ +# Setup documents repo +if (Test-Path "docs/Documents/.git") { + Push-Location "docs/Documents" + git pull origin main + Pop-Location +} else { + git clone https://github.com/JustEnoughVCS/Documents.git docs/Documents +} |
