Skip to content

Latest commit

 

History

History
36 lines (19 loc) · 697 Bytes

File metadata and controls

36 lines (19 loc) · 697 Bytes

mito 贡献指南

环境搭建

要运行测试套件和代码检查器,需要先安装 Node.js 和 pnpm。

node 下载 pnpm 下载 rust 下载

mitojs-node

安装

首先在项目根目录运行 pnpm i

Rust Agent

首先运行 cd agent 进入 agent 目录。

构建二进制

构建跨平台的二进制文件,包括 Windows、macOS 和 Linux,最终会被 @mitojs/node 引用,并通过 spawn 启动

./build.sh

构建 @mitojs/node

在本地通过 bunts-node 运行 client.ts 来启动调试 rust Agent

构建 @mitojs/node-cli