mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-04-03 04:14:30 +08:00
docs(config): 添加配置系统文档和VS Code工具
- 更新GitHub工作流中工具路径配置 - 新增游戏内容配置系统详细文档 - 创建VS Code扩展包描述文件 - 添加VS Code扩展功能说明文档
This commit is contained in:
parent
642f2641ec
commit
988d7f85fd
@ -26,7 +26,7 @@
|
|||||||
#
|
#
|
||||||
# defaults:
|
# defaults:
|
||||||
# run:
|
# run:
|
||||||
# working-directory: tools/vscode-config-extension
|
# working-directory: tools/gframework-config-tool
|
||||||
#
|
#
|
||||||
# steps:
|
# steps:
|
||||||
# - name: Checkout repository
|
# - name: Checkout repository
|
||||||
|
|||||||
@ -195,7 +195,7 @@ var hotReload = loader.EnableHotReload(
|
|||||||
|
|
||||||
## VS Code 工具
|
## VS Code 工具
|
||||||
|
|
||||||
仓库中的 `tools/vscode-config-extension` 当前提供以下能力:
|
仓库中的 `tools/gframework-config-tool` 当前提供以下能力:
|
||||||
|
|
||||||
- 浏览 `config/` 目录
|
- 浏览 `config/` 目录
|
||||||
- 打开 raw YAML 文件
|
- 打开 raw YAML 文件
|
||||||
|
|||||||
@ -28,7 +28,7 @@ The extension currently validates the repository's minimal config-schema subset:
|
|||||||
## Local Testing
|
## Local Testing
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd tools/vscode-config-extension
|
cd tools/gframework-config-tool
|
||||||
bun install
|
bun install
|
||||||
bun run test
|
bun run test
|
||||||
```
|
```
|
||||||
@ -36,7 +36,7 @@ bun run test
|
|||||||
## Packaging And Publishing
|
## Packaging And Publishing
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd tools/vscode-config-extension
|
cd tools/gframework-config-tool
|
||||||
bun install
|
bun install
|
||||||
bun run package:vsix
|
bun run package:vsix
|
||||||
VSCE_PAT=your_marketplace_pat bun run publish:marketplace
|
VSCE_PAT=your_marketplace_pat bun run publish:marketplace
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/GeWuYou/GFramework.git",
|
"url": "https://github.com/GeWuYou/GFramework.git",
|
||||||
"directory": "tools/vscode-config-extension"
|
"directory": "tools/gframework-config-tool"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/GeWuYou/GFramework/tree/main/tools/gframework-config-tool",
|
"homepage": "https://github.com/GeWuYou/GFramework/tree/main/tools/gframework-config-tool",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user