cargo-workflows

Crates.iocargo-workflows
lib.rscargo-workflows
version0.2.1
sourcesrc
created_at2023-06-01 17:40:31.328213
updated_at2024-08-24 21:10:36.900796
descriptionA library for running workflows.
homepage
repositoryhttps://github.com/tadaHrd/cargo-workflows
max_upload_size
id879954
size22,627
(TadaHrd)

documentation

README

Cargo workflows

A library for running workflows.

[!WARNING] This is deprecated, use cargo-make instead.

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