# mtask **Repository Path**: s-c-c/mtask ## Basic Information - **Project Name**: mtask - **Description**: 将所需命令组成一个个任务写入配置文件,定义好任务与任务之间的依赖。之后运行mtask可以并行执行完所有任务。 - **Primary Language**: Rust - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-05-09 - **Last Updated**: 2023-05-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # mtask #### 介绍 将所需命令组成一个个任务写入配置文件,定义好任务与任务之间的依赖。之后运行mtask可以并行执行完所有任务。 #### 安装教程 1. 提前安装好[rust环境](https://www.rust-lang.org/tools/install) 2. 下载源码并安装 ``` git clone https://gitee.com/s-c-c/mtask.git cd mtask cargo install ``` #### 使用说明 1. 任务配置文件例子 ``` [[task]] name = "task_a" cmds = ["sleep 1", "sleep 2"] [[task]] name = "task_b" cmds = ["sleep 5"] [[task]] name = "task_c" cmds = ["sleep 4", "sleep 3"] [[task]] name = "task_d" required = ["task_a", "task_b", "task_c"] cmds = ["sleep 3"] ``` 2. 运行例子 ``` cargo run -- ./configs/ -v ``` #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)