4个版本 (2个稳定版本)
1.2.0 | 2024年1月28日 |
---|---|
1.1.0 | 2023年10月17日 |
1.0.0 |
|
0.8.1 | 2023年10月15日 |
0.7.5 |
|
在构建实用工具中排名115
每月下载量28次
65KB
1.5K SLoC
maid是一个任务运行器/构建工具,旨在比GNU Make更简单、更易于使用。任务存储在名为maidfile
的文件中,使用TOML语法。

快速入门
请参阅安装部分,了解如何在您的计算机上安装。尝试运行maid --version
以确保已正确安装。
一旦maid安装并运行,请创建一个名为maidfile的文件,位于您项目的根目录中,并包含以下内容
[tasks.hello]
info = "this is a comment"
script = "echo 'hello world'"
不传递任何参数运行maid将显示maidfile中的任务列表
~ $ maid
? Select a task to run:
> hello (this is a comment)
[↑↓ to move, enter to select, type to filter]
有关更多命令,请查看maid --help
安装
Linux、MacOS和Windows的预构建二进制文件可以在发布页面找到。
构建
- 克隆项目
git clone https://github.com/exact-labs/maid.git
- 在项目文件夹中打开一个终端
- 检查您是否已安装cargo(Rust的包管理器),只需输入
cargo
- 如果已安装cargo,则运行
cargo build --release
- 将可执行文件放入您的PATH条目之一
- Linux:通常为/bin/或/usr/bin/
- Windows:C:\Windows\System32是不错的选择,但请勿使用Windows
依赖项
~27–45MB
~819K SLoC