#workflow #running #cargo #file #run #command #toml

bin+lib cargo-workflows

A library for running workflows

2 unstable releases

0.2.0 Jun 1, 2023
0.1.0 Jun 1, 2023

#678 in Cargo plugins

29 downloads per month

MIT license

8KB
175 lines

Cargo workflows

A library for running workflows.

Usage

First, install the crate using cargo install cargo-workflows.

Second, initialize a new workflows.toml file using cargo workflows init.

Third, open the file and you should see:

# "default" is the default workflow
[default]

# Commands to run
[default.commands]
clippy = [ "cargo", "clippy" ]
build = [ "cargo", "build", "--release" ]
run = [ "cargo", "run", "--release" ]

# Environment variables
[default.env]
"Env 1" = "true"
"Env-2" = "42"
"Env_3" = "50"

Dependencies

~2–12MB
~98K SLoC