更改项目名为NebulaShell
This commit is contained in:
28
.vscode/tasks.json
vendored
28
.vscode/tasks.json
vendored
@@ -2,7 +2,7 @@
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "FutureOSS: 安装依赖",
|
||||
"label": "NebulaShell: 安装依赖",
|
||||
"type": "shell",
|
||||
"command": "pip install -r requirements.txt",
|
||||
"group": {
|
||||
@@ -23,7 +23,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "FutureOSS: 启动开发服务器",
|
||||
"label": "NebulaShell: 启动开发服务器",
|
||||
"type": "shell",
|
||||
"command": "python -m oss.cli serve",
|
||||
"group": "none",
|
||||
@@ -48,7 +48,7 @@
|
||||
],
|
||||
"background": {
|
||||
"activeOnStart": true,
|
||||
"beginsPattern": ".*启动 FutureOSS 服务.*",
|
||||
"beginsPattern": ".*启动 NebulaShell 服务.*",
|
||||
"endsPattern": ".*服务已启动.*"
|
||||
}
|
||||
}
|
||||
@@ -58,7 +58,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "FutureOSS: 运行测试",
|
||||
"label": "NebulaShell: 运行测试",
|
||||
"type": "shell",
|
||||
"command": "pytest -v --tb=short",
|
||||
"group": "test",
|
||||
@@ -89,9 +89,9 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "FutureOSS: 代码检查",
|
||||
"label": "NebulaShell: 代码检查",
|
||||
"type": "shell",
|
||||
"command": "python -m pylint oss/ store/@{FutureOSS}/ --rcfile=${workspaceFolder}/.pylintrc || echo 'Pylint检查完成'",
|
||||
"command": "python -m pylint oss/ store/@{NebulaShell}/ --rcfile=${workspaceFolder}/.pylintrc || echo 'Pylint检查完成'",
|
||||
"group": "build",
|
||||
"presentation": {
|
||||
"echo": true,
|
||||
@@ -122,9 +122,9 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "FutureOSS: 格式化代码",
|
||||
"label": "NebulaShell: 格式化代码",
|
||||
"type": "shell",
|
||||
"command": "python -m black oss/ store/@{FutureOSS}/",
|
||||
"command": "python -m black oss/ store/@{NebulaShell}/",
|
||||
"group": "build",
|
||||
"presentation": {
|
||||
"echo": true,
|
||||
@@ -140,7 +140,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "FutureOSS: 清理缓存文件",
|
||||
"label": "NebulaShell: 清理缓存文件",
|
||||
"type": "shell",
|
||||
"command": "find . -type f -name '*.pyc' -delete && find . -type d -name '__pycache__' -delete && find . -type f -name '.pid' -delete",
|
||||
"group": "build",
|
||||
@@ -158,7 +158,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "FutureOSS: 查看服务状态",
|
||||
"label": "NebulaShell: 查看服务状态",
|
||||
"type": "shell",
|
||||
"command": "if [ -f .pid ]; then echo '服务正在运行,PID: ' && cat .pid; else echo '服务未运行'; fi",
|
||||
"group": "none",
|
||||
@@ -176,7 +176,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "FutureOSS: 停止服务",
|
||||
"label": "NebulaShell: 停止服务",
|
||||
"type": "shell",
|
||||
"command": "if [ -f .pid ]; then kill $(cat .pid) && rm -f .pid && echo '服务已停止'; else echo '服务未运行'; fi",
|
||||
"group": "none",
|
||||
@@ -194,12 +194,12 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "FutureOSS: 重启服务",
|
||||
"label": "NebulaShell: 重启服务",
|
||||
"type": "shell",
|
||||
"dependsOrder": "sequence",
|
||||
"dependsOn": [
|
||||
"FutureOSS: 停止服务",
|
||||
"FutureOSS: 启动开发服务器"
|
||||
"NebulaShell: 停止服务",
|
||||
"NebulaShell: 启动开发服务器"
|
||||
],
|
||||
"group": "none",
|
||||
"presentation": {
|
||||
|
||||
Reference in New Issue
Block a user