maid

Crates.iomaid
lib.rsmaid
version1.2.0
sourcesrc
created_at2018-03-06 04:49:59.71885
updated_at2024-01-28 08:21:19.657453
description🔨 An easy to use make alternative.
homepage
repositoryhttps://github.com/exact-rs/maid
max_upload_size
id54070
size125,210
Mack (theMackabu)

documentation

README

Maid is a task runner / build tool that aims to be simpler and easier to use than, for example, GNU Make. Tasks are stored in a file called maidfile using the TOML syntax.

Quick Start

See the installation section for how to install just on your computer. Try running maid --version to make sure that it's installed correctly.

Once maid is installed and working, create a file named maidfile in the root of your project with the following contents:

[tasks.hello]
info = "this is a comment"
script = "echo 'hello world'"

Running maid with no arguments shows a list of tasks in the maidfile:

~ $ maid
? Select a task to run:
> hello (this is a comment)
[↑↓ to move, enter to select, type to filter]

For more commands, check out maid --help

Installation

Pre-built binaries for Linux, MacOS, and Windows can be found on the releases page.

Building

  • Clone the project git clone https://github.com/exact-labs/maid.git
  • Open a terminal in the project folder
  • Check if you have cargo (Rust's package manager) installed, just type in cargo
  • If cargo is installed, run cargo build --release
  • Put the executable into one of your PATH entries
    • Linux: usually /bin/ or /usr/bin/
    • Windows: C:\Windows\System32 is good for it but don't use windows
Commit count: 107

cargo fmt