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