🐛 fix(scripts): include language list in AGENTS.md
This commit is contained in:
parent
c0d0737da7
commit
f2df89d483
|
|
@ -155,6 +155,7 @@ if not exist "%ROOT%\AGENTS.md" (
|
||||||
>> "%ROOT%\AGENTS.md" echo 请以 `.agents/` 下的规则为准:
|
>> "%ROOT%\AGENTS.md" echo 请以 `.agents/` 下的规则为准:
|
||||||
>> "%ROOT%\AGENTS.md" echo.
|
>> "%ROOT%\AGENTS.md" echo.
|
||||||
>> "%ROOT%\AGENTS.md" echo - 入口:`.agents/index.md`
|
>> "%ROOT%\AGENTS.md" echo - 入口:`.agents/index.md`
|
||||||
|
>> "%ROOT%\AGENTS.md" echo - 语言规则:`.agents/tsl/index.md`、`.agents/cpp/index.md`、`.agents/python/index.md`、`.agents/markdown/index.md`
|
||||||
echo Created AGENTS.md
|
echo Created AGENTS.md
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -148,6 +148,7 @@ if (-not (Test-Path $AgentsMd)) {
|
||||||
请以 `.agents/` 下的规则为准:
|
请以 `.agents/` 下的规则为准:
|
||||||
|
|
||||||
- 入口:`.agents/index.md`
|
- 入口:`.agents/index.md`
|
||||||
|
- 语言规则:`.agents/tsl/index.md`、`.agents/cpp/index.md`、`.agents/python/index.md`、`.agents/markdown/index.md`
|
||||||
'@ | Set-Content -Path $AgentsMd -Encoding UTF8
|
'@ | Set-Content -Path $AgentsMd -Encoding UTF8
|
||||||
Write-Host "Created AGENTS.md"
|
Write-Host "Created AGENTS.md"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -154,6 +154,7 @@ if [ ! -f "$AGENTS_MD" ]; then
|
||||||
请以 `.agents/` 下的规则为准:
|
请以 `.agents/` 下的规则为准:
|
||||||
|
|
||||||
- 入口:`.agents/index.md`
|
- 入口:`.agents/index.md`
|
||||||
|
- 语言规则:`.agents/tsl/index.md`、`.agents/cpp/index.md`、`.agents/python/index.md`、`.agents/markdown/index.md`
|
||||||
EOF
|
EOF
|
||||||
echo "Created AGENTS.md"
|
echo "Created AGENTS.md"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue