Crates.io | cargo-workflows |
lib.rs | cargo-workflows |
version | 0.2.1 |
source | src |
created_at | 2023-06-01 17:40:31.328213 |
updated_at | 2024-08-24 21:10:36.900796 |
description | A library for running workflows. |
homepage | |
repository | https://github.com/tadaHrd/cargo-workflows |
max_upload_size | |
id | 879954 |
size | 22,627 |
A library for running workflows.
[!WARNING] This is deprecated, use
cargo-make
instead.
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"