🐛 fix(sync_standards): generate minimal AGENTS.md
This commit is contained in:
parent
5547665e95
commit
8f78d22ccc
|
|
@ -126,7 +126,6 @@ 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`
|
|
||||||
echo Created AGENTS.md
|
echo Created AGENTS.md
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -129,7 +129,6 @@ 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`
|
|
||||||
'@ | Set-Content -Path $AgentsMd -Encoding UTF8
|
'@ | Set-Content -Path $AgentsMd -Encoding UTF8
|
||||||
Write-Host "Created AGENTS.md"
|
Write-Host "Created AGENTS.md"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -133,7 +133,6 @@ 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`
|
|
||||||
EOF
|
EOF
|
||||||
echo "Created AGENTS.md"
|
echo "Created AGENTS.md"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue