xtaskops
This is a Rust library that has a few goodies for working with the xtask concept.
Dependency
[]
= "0.1.0"
For most recent version see crates.io
Usage
If you've set up a local xtask folder, and are building you tasks, you can use xtaskops.
Tasks
Coverage:
use tasks;
// assuming you use `clap`
let res = match matches.subcommand
Run:
$ cargo xtask coverage
Recommended: alias cargo xtask to x:
# in your zshrc/shell rcfile
Ops
use ;
remove_dir?;
create_dir_all?;
// cmd! is from the `duct` library
cmd!.run?;
Ok
Copyright
Copyright (c) 2022 @jondot. See LICENSE for further details.