1
0
Fork 0

Add an xtask binary target for running tasks

This commit is contained in:
Robbert van der Helm 2022-01-29 17:31:51 +01:00
parent edab467538
commit 46cd75ec53
5 changed files with 18 additions and 1 deletions

2
.cargo/config Normal file
View file

@ -0,0 +1,2 @@
[alias]
xtask = "run --package xtask --"

4
Cargo.lock generated
View file

@ -155,3 +155,7 @@ name = "widestring"
version = "1.0.0-beta.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e6f1efe828a707edf85994a4501734ac1c1b9d244cfcf4de235f11c4125ace8f"
[[package]]
name = "xtask"
version = "0.1.0"

View file

@ -6,7 +6,7 @@ authors = ["Robbert van der Helm <mail@robbertvanderhelm.nl>"]
license = "GPL-3.0-or-later"
[workspace]
members = ["nih_plug_derive", "plugins/gain"]
members = ["nih_plug_derive", "plugins/gain", "xtask"]
[dependencies]
nih_plug_derive = { path = "nih_plug_derive" }

8
xtask/Cargo.toml Normal file
View file

@ -0,0 +1,8 @@
[package]
name = "xtask"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

3
xtask/src/main.rs Normal file
View file

@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}