diff --git a/README.md b/README.md index e23e945..9e96e60 100644 --- a/README.md +++ b/README.md @@ -490,10 +490,20 @@ uv run build pyinstaller # Nuitka 打包 uv run build nuitka + +# 仅重新打包 .mbank 模块文件(第三方依赖不变时,更新只需替换 mbank 文件) +uv run build --only mbank + +# 只执行指定步骤,跳过其余流程 +uv run build --only mbank,prepare,vue ``` 构建过程包括:模块加密打包 → 资源复制 → PyInstaller/Nuitka 打包 → 数据库初始化 → 前端编译 → VFS 挂载。 +`--only ` 可选步骤:`mbank`(模块打包)、`prepare`(准备构建目录)、 +`obfuscate`(PyArmor 混淆,仅 pyinstaller 模式)、`pack`(PyInstaller/Nuitka 打包)、 +`clean`(清理临时文件)、`vue`(Vue 前端构建);可逗号分隔或重复传多个。 + 详见 [插件开发指南](src/plugins/README.md)。 ### 常用命令 diff --git a/test_internal_mqtt_client.py b/test_internal_mqtt_client.py index b114e7d..3202813 100644 --- a/test_internal_mqtt_client.py +++ b/test_internal_mqtt_client.py @@ -16,4 +16,5 @@ async def main(): await client.stop() if __name__ == "__main__": - asyncio.run(main()) \ No newline at end of file + asyncio.run(main()) + \ No newline at end of file