refactor: 脚本及配置文件命名统一用 _ 分隔

将 .sh/.bat 脚本与 .js/.plist/.Dockerfile 等文件中以 - 分隔的文件名
改为 _ 分隔,dcloud-renew 目录改为 dcloud、script_nuance 目录改为
nuance,并同步更新脚本内部引用与 README 路径。

Co-Authored-By: AtomCode (deepseek-v4-flash) <noreply@atomgit.com>
This commit is contained in:
luk
2026-08-25 15:11:50 +08:00
parent 42ef5b87a6
commit 9742f6dab2
156 changed files with 15 additions and 101 deletions

63
git_ignore_find2merge.bat Normal file
View File

@@ -0,0 +1,63 @@
@echo off
@REM 首先清除可能残留的变量
set ROOTPATH=
@ if not "" == "%1" (
set ROOTPATH=%1
) else (
echo;
echo ::*** Enter [root path] or [leave blank] for default [[%CD%]] to start tree search for .gitignore files
set /p ROOTPATH=">>> "
echo;
if "" == "%ROOTPATH%" (
set ROOTPATH=%CD%
) else (
for %P in (%ROOTPATH%) do set "ROOTPATH=%~dpnxP"
)
)
if not exist "%ROOTPATH%" (
echo ××× [[%ROOTPATH%]] not exist! Exit now. ***
@ GOTO END
) else (
echo √√√ ROOTPATH = [[%ROOTPATH%]]
)
echo ::*** Enter [path to .gitignore_global] or [leave blank] for default [[https://git.tic.cc/opx/sysconfig/raw/branch/main/nixhome/.gitignore_global]]
set /p GLOBALPATH=">>> "
echo;
if "" == "%GLOBALPATH%" (
set GLOBALPATH=https://git.tic.cc/opx/sysconfig/raw/branch/main/nixhome/.gitignore_global
) else (
for %P in (%GLOBALPATH%) do set "GLOBALPATH=%~dpnxP/.gitignore_global"
if not exist "%GLOBALPATH%" (
echo ××× [[%GLOBALPATH%]] not exist! Exit now. ***
@ GOTO END
) else (
echo √√√ GLOBALPATH = [[%GLOBALPATH%]]
)
)
pushd %ROOTPATH%
echo ::*** Starting from [[%CD%]]
echo;
for /d /r %%r in (*) do (
@REM @ if not "%%r" == ".vscode" (
echo "%%r" | findstr "node_modules uni_modules .deploy_git .git .svn .vscode unpackage _webroot _logstore _datasotre _archive _filestore _ssl" >NUL || (
if exist "%%r\.git" (
pushd "%%r"
echo ---- updating .gitignore in [[%%r]] ----
cat %GLOBALPATH%\.gitignore %%r\.gitignore.local.txt > %%r\.gitignore
echo;
popd
)
)
)
popd
:END
pause