Skip to content

A lightweight task runner for tasks defined in Cargo.toml

License

Notifications You must be signed in to change notification settings

kanarus/cargo-metask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cargo-metask

A lightweight task runner for tasks defined as Cargo.toml metadata

Installation

cargo install cargo-metask

Then cargo metask and alias cargo task will be available.

Usage

  1. Define tasks in package.metadata.tasks or workspace.metadata.tasks of your Cargo.toml :
[package.metadata.tasks]
greet = "echo 'Hello, metask!'"
  1. Run a task :
cargo metask greet

# or

cargo task greet

Development

cargo-metask is currently in early development stage and may have some unexpected behavior or missing features. If you have any feedback or suggestions, feel free to open Issues or Pull requests!

License

cargo-metask is licensed under MIT LICENSE.