diff --git a/.cargo/config.toml b/.cargo/config.toml index eb0d042b..fa4c7745 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -13,3 +13,6 @@ rustflags = [ [target.aarch64-unknown-linux-musl] linker = "aarch64-linux-musl-gcc" rustflags = ["-C", "target-feature=-crt-static"] + +[alias] +xtask = "run --manifest-path ./xtask/Cargo.toml --" diff --git a/Cargo.lock b/Cargo.lock index 2917545f..1fc9075e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1645,3 +1645,7 @@ name = "windows_x86_64_msvc" version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f40009d85759725a34da6d89a94e63d7bdc50a862acf0dbc7c8e488f1edcb6f5" + +[[package]] +name = "xtask" +version = "0.0.0" diff --git a/Cargo.toml b/Cargo.toml index 5c45553a..47f2f88b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,4 +1,5 @@ [workspace] members = [ -"crates/*" + "crates/*", + "xtask" ] diff --git a/scripts/version.js b/scripts/version.js deleted file mode 100644 index e69de29b..00000000 diff --git a/xtask/Cargo.toml b/xtask/Cargo.toml new file mode 100644 index 00000000..9232fde1 --- /dev/null +++ b/xtask/Cargo.toml @@ -0,0 +1,8 @@ +[package] +publish = false +edition = "2021" +name = "xtask" +version = "0.0.0" +authors = ["Herrington Darkholme"] + +[dependencies] diff --git a/xtask/src/main.rs b/xtask/src/main.rs new file mode 100644 index 00000000..37ace271 --- /dev/null +++ b/xtask/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("hello") +}