cargo-workflows

Crates.iocargo-workflows
lib.rscargo-workflows
version0.2.0
sourcesrc
created_at2023-06-01 17:40:31.328213
updated_at2023-06-01 19:11:03.354942
descriptionA library for running workflows.
homepage
repositoryhttps://github.com/tadaHrd/cargo-workflows
max_upload_size
id879954
size22,166
TadaHrd (tadaHrd)

documentation

README

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"
Commit count: 6

cargo fmt