diff --git a/Cargo.lock b/Cargo.lock index ba33fff07bdc5a312bcdc065a8d83fd9e9ce3fe9..e133e4e70673e2280d3d5511ff9e826aa590c181 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1448,6 +1448,8 @@ name = "maid" version = "2.0.0" dependencies = [ "anyhow", + "bollard", + "bytes", "chrono", "clap", "clap-verbosity-flag", @@ -1456,6 +1458,9 @@ dependencies = [ "env_logger", "flate2", "fs_extra", + "futures", + "futures-core", + "futures-util", "global_placeholders", "home", "human_bytes", @@ -1463,61 +1468,32 @@ dependencies = [ "inquire", "json5", "lazy_static", + "libc", "log", "macros-rs", "merge-struct", "merkle_hash", "notify", "notify-debouncer-mini", - "pretty_number", - "reqwest", - "serde", - "serde_json", - "serde_yaml", - "strip-ansi-escapes", - "tar", - "termcolor", - "text_placeholder", - "toml", - "tungstenite 0.20.1", - "url", - "uuid", -] - -[[package]] -name = "maid_server" -version = "2.0.0" -dependencies = [ - "anyhow", - "bollard", - "bytes", - "chrono", - "clap", - "clap-verbosity-flag", - "colored", - "flate2", - "futures", - "futures-core", - "futures-util", - "global_placeholders", - "home", - "indicatif", - "libc", - "log", - "macros-rs", "ntapi", "pretty_env_logger", + "pretty_number", + "reqwest", "rocket", "rocket_ws", "serde", "serde_derive", "serde_json", + "serde_yaml", + "strip-ansi-escapes", "tar", "termcolor", "text_placeholder", "tokio", "tokio-util", + "toml", "tungstenite 0.20.1", + "url", "uuid", "winapi", ] diff --git a/Cargo.toml b/Cargo.toml index 390029a5cebe00c9563547123ee422d8dbe4892f..bfb436090a8f7c10a606e8b266ea93c78375612f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,12 +1,63 @@ -[workspace] -resolver = "2" -members = ["crates/maid", "crates/maid-server"] - -[workspace.package] +[package] +name = "maid" license = "MIT" version = "2.0.0" edition = "2021" + +build = "build/attribute.rs" repository = "https://github.com/exact-rs/maid" +description = "🔨 An easy to use make alternative." + +[[bin]] +name = "maid" +path = "maid/client/main.rs" +required-features = ["client"] + +[[bin]] +name = "maid-server" +path = "maid/server/main.rs" +required-features = ["server"] + +[features] +default = ["client"] + +client = [ + "dep:url", + "dep:toml", + "dep:json5", + "dep:notify", + "dep:inquire", + "dep:reqwest", + "dep:fs_extra", + "dep:env_logger", + "dep:serde_yaml", + "dep:lazy_static", + "dep:merkle_hash", + "dep:human_bytes", + "dep:merge-struct", + "dep:pretty_number", + "dep:data-encoding", + "dep:strip-ansi-escapes", + "dep:notify-debouncer-mini" +] + +server = [ + "dep:libc", + "dep:bytes", + "dep:ntapi", + "dep:tokio", + "dep:rocket", + "dep:winapi", + "dep:chrono", + "dep:futures", + "dep:bollard", + "dep:rocket_ws", + "dep:tokio-util", + "dep:futures-core", + "dep:futures-util", + "dep:serde_derive", + "dep:pretty_env_logger" +] [profile.release] lto = true @@ -14,17 +65,61 @@ strip = true opt-level = 3 codegen-units = 1 -[workspace.dependencies] -url = "2.5.3" +[dependencies] log = "0.4.22" tar = "0.4.43" +home = "0.5.9" colored = "2.1.0" flate2 = "1.0.35" -env_logger = "0.10.2" -pretty_number = "0.1.0" -clap-verbosity-flag = "2.2.3" +anyhow = "1.0.93" +termcolor = "1.4.1" +macros-rs = "0.5.2" +indicatif = "0.17.9" +serde_json = "1.0.133" +text_placeholder = "0.5.1" global_placeholders = "0.1.0" +clap-verbosity-flag = "2.2.3" clap = { version = "4.5.21", features = ["derive"] } +serde = { version = "1.0.215", features = ["derive"] } uuid = { version = "1.11.0", features = ["v4", "fast-rng"] } -reqwest = { version = "0.11.27", default-features = false, features = ["json", "blocking", "rustls-tls"] } +tungstenite = { version = "0.20.1", features = ["rustls-tls-webpki-roots"] } + +# enable-feature = client +url = { version = "2.5.3", optional = true } +toml = { version = "0.8.19", optional = true } +json5 = { version = "0.4.1", optional = true } +notify = { version = "6.1.1", optional = true } +inquire = { version = "0.6.2", optional = true } +fs_extra = { version = "1.3.0", optional = true } +env_logger = { version = "0.10.2", optional = true } +lazy_static = { version = "1.5.0", optional = true } +serde_yaml = { version = "0.9.34", optional = true } +merkle_hash = { version = "3.7.0", optional = true } +merge-struct = { version = "0.1.0", optional = true } +pretty_number = { version = "0.1.0", optional = true } +data-encoding = { version = "2.6.0", optional = true } +strip-ansi-escapes = { version = "0.2.0", optional = true } +notify-debouncer-mini = { version = "0.4.1", optional = true } +human_bytes = { version = "0.4.3", default-features = false, optional = true } +reqwest = { version = "0.11.27", default-features = false, features = ["json", "blocking", "rustls-tls"], optional = true } + +# enable-feature = server +bytes = { version = "1.8.0", optional = true } +ntapi = { version = "0.4.1", optional = true } +libc = { version = "0.2.164", optional = true } +winapi = { version = "0.3.9", optional = true } +chrono = { version = "0.4.38", optional = true } +futures = { version = "0.3.31", optional = true } +bollard = { version = "0.15.0", optional = true } +rocket_ws = { version = "0.1.1", optional = true } +tokio-util = { version = "0.7.12", optional = true } +futures-core = { version = "0.3.31", optional = true } +futures-util = { version = "0.3.31", optional = true } +serde_derive = { version = "1.0.215", optional = true } +pretty_env_logger = { version = "0.5.0", optional = true } +tokio = { version = "1.41.1", features = ["full"], optional = true } +rocket = { version = "0.5.1", features = ["json", "msgpack"], optional = true } + +[build-dependencies] +chrono = "0.4.38" diff --git a/Maidfile.toml b/Maidfile.toml index 8935037a7ab6706d15e39811ef3ba3c696ee04a6..999bb538545c01e7680a81299548026db59f9804 100644 --- a/Maidfile.toml +++ b/Maidfile.toml @@ -1,20 +1,20 @@ -# import tasks and enviroment from other files +# Import tasks and environment from other files import = [ - "scripts/build.toml", - "scripts/test.toml", - "scripts/publish.toml" + "build/scripts/build.toml", + "build/scripts/test.toml", + "build/scripts/publish.toml" ] [project] name = "maid" -version = "1.2.1" +version = "2.0.0" -# build on a remote server +# Build on a remote server [project.server] address = { host = "localhost", port = 3500, ssl = false } token = "test_token1" -# global enviroment +# Global environment (applied to shell) [env] BOOL = false STRING = 'test' @@ -28,23 +28,23 @@ depends = ["clean"] script = [ "cargo zigbuild --release --color always", "mv target/release/maid bin/maid", - "mv target/release/maid_server bin/maid_server" + "mv target/release/maid-server bin/maid-server", ] [tasks.build.cache] -path = "crates" -target = ["bin/maid", "bin/exit_test"] +path = "maid" +target = ["bin/maid", "bin/maid-server"] -[tasks.build.remote] -silent = false -exclusive = false -shell = "/bin/bash" -image = "messense/cargo-zigbuild:latest" -push = ["crates", "Cargo.toml", "Cargo.lock"] -pull = "bin" +# [tasks.build.remote] +# silent = false +# exclusive = false +# shell = "/bin/bash" +# image = "messense/cargo-zigbuild:latest" +# push = ["crates", "Cargo.toml", "Cargo.lock"] +# pull = "bin" -# basic task definition +# Basic task definition [tasks] api_server = { depends = ["build"], script = "./maid_server", path = "bin" } clean = { info = "Clean binary files", script = ["rm -rf bin", "mkdir bin"] } -install = { info = "Move binary file", script = ["maid build -q","sudo cp bin/maid /usr/local/bin", "echo Copied binary!"] } \ No newline at end of file +install = { info = "Move binary file", script = ["maid build -q","sudo cp bin/maid /usr/local/bin", "maid -V"] } \ No newline at end of file diff --git a/crates/maid-server/Cargo.toml b/crates/maid-server/Cargo.toml deleted file mode 100644 index d856396759da510a2ce41dd6a35646e9c7ccec5b..0000000000000000000000000000000000000000 --- a/crates/maid-server/Cargo.toml +++ /dev/null @@ -1,43 +0,0 @@ -[package] -name = "maid_server" -version.workspace = true -edition.workspace = true -license.workspace = true -repository.workspace = true -description = "🔨 Build server for maid" - -[dependencies] -tar.workspace = true -log.workspace = true -uuid.workspace = true -clap.workspace = true -flate2.workspace = true -colored.workspace = true -clap-verbosity-flag.workspace = true -global_placeholders.workspace = true - -# make workspace -home = "0.5.9" -bytes = "1.8.0" -ntapi = "0.4.1" -libc = "0.2.164" -winapi = "0.3.9" -anyhow = "1.0.93" -chrono = "0.4.38" -futures = "0.3.31" -bollard = "0.15.0" -termcolor = "1.4.1" -macros-rs = "0.5.2" -indicatif = "0.17.9" -tokio-util = "0.7.12" -tungstenite = "0.20.1" -serde_json = "1.0.133" -futures-core = "0.3.31" -futures-util = "0.3.31" -serde_derive = "1.0.215" -text_placeholder = "0.5.1" -tokio = { version = "1.41.1", features = ["full"] } -serde = { version = "1.0.215", features = ["derive"] } -rocket = { version = "0.5.1", features = ["json", "msgpack"] } -rocket_ws = "0.1.1" -pretty_env_logger = "0.5.0" diff --git a/crates/maid/Cargo.toml b/crates/maid/Cargo.toml deleted file mode 100644 index 2bfba1b8955b773419a37c15d1b2d50d9caf92f3..0000000000000000000000000000000000000000 --- a/crates/maid/Cargo.toml +++ /dev/null @@ -1,49 +0,0 @@ -[package] -version.workspace = true -license.workspace = true -edition.workspace = true -repository.workspace = true - -name = "maid" -readme = "../../README.md" -description = "🔨 An easy to use make alternative." - -[dependencies] -tar.workspace = true -url.workspace = true -log.workspace = true -uuid.workspace = true -clap.workspace = true -flate2.workspace = true -reqwest.workspace = true -colored.workspace = true -env_logger.workspace = true -pretty_number.workspace = true -global_placeholders.workspace = true - -home = "0.5.9" -toml = "0.8.19" -json5 = "0.4.1" -notify = "6.1.1" -inquire = "0.6.2" -anyhow = "1.0.93" -fs_extra = "1.3.0" -termcolor = "1.4.1" -macros-rs = "0.5.2" -indicatif = "0.17.9" -serde_json = "1.0.133" -serde_yaml = "0.9.34" -merkle_hash = "3.7.0" -merge-struct = "0.1.0" -data-encoding = "2.6.0" -text_placeholder = "0.5.1" -strip-ansi-escapes = "0.2.0" -clap-verbosity-flag = "2.2.3" -notify-debouncer-mini = "0.4.1" -serde = { version = "1.0.215", features = ["derive"] } -human_bytes = { version = "0.4.3", default-features = false } -tungstenite = { version = "0.20.1", features = ["rustls-tls-webpki-roots"] } -lazy_static = "1.5.0" - -[build-dependencies] -chrono = "0.4.38" diff --git a/crates/maid/README.md b/crates/maid/README.md deleted file mode 100644 index a333c69e444138e28081005da75b0365a0dc3ce4..0000000000000000000000000000000000000000 --- a/crates/maid/README.md +++ /dev/null @@ -1,45 +0,0 @@ -
-
-### Quick Start
-
-See the [installation](#installation) section for how to install just on your computer. Try running `maid --version` to make sure that it's installed correctly.
-
-Once maid is installed and working, create a file named maidfile in the root of your project with the following contents:
-
-```toml
-[tasks.hello]
-info = "this is a comment"
-script = "echo 'hello world'"
-```
-
-Running maid with no arguments shows a list of tasks in the maidfile:
-
-```bash
-~ $ maid
-? Select a task to run:
-> hello (this is a comment)
-[↑↓ to move, enter to select, type to filter]
-```
-
-For more commands, check out `maid --help`
-
-### Installation
-
-Pre-built binaries for Linux, MacOS, and Windows can be found on the [releases](https://github.com/exact-labs/maid/releases) page.
-
-#### Building
-
-- Clone the project `git clone https://github.com/exact-labs/maid.git`
-- Open a terminal in the project folder
-- Check if you have cargo (Rust's package manager) installed, just type in `cargo`
-- If cargo is installed, run `cargo build --release`
-- Put the executable into one of your PATH entries
- - Linux: usually /bin/ or /usr/bin/
- - Windows: C:\Windows\System32 is good for it but don't use windows
diff --git a/crates/maid/build.rs b/crates/maid/build.rs
deleted file mode 100644
index ed3cc8cd7de2cb4447d0dea8194d84e88dc83a77..0000000000000000000000000000000000000000
--- a/crates/maid/build.rs
+++ /dev/null
@@ -1,29 +0,0 @@
-use chrono::Datelike;
-use std::env;
-use std::process::Command;
-
-struct Env {}
-impl Env {
- fn git() {
- let output = Command::new("git").args(&["rev-parse", "--short=10", "HEAD"]).output().unwrap();
- println!("cargo:rustc-env=GIT_HASH={}", String::from_utf8(output.stdout).unwrap());
-
- let output_full = Command::new("git").args(&["rev-parse", "HEAD"]).output().unwrap();
- println!("cargo:rustc-env=GIT_HASH_FULL={}", String::from_utf8(output_full.stdout).unwrap());
- }
-
- fn date() {
- let date = chrono::Utc::now();
- println!("cargo:rustc-env=BUILD_DATE={}-{}-{}", date.year(), date.month(), date.day());
- }
-
- fn misc() {
- println!("cargo:rustc-env=TARGET={}", env::var("TARGET").unwrap());
- }
-}
-
-fn main() {
- Env::git();
- Env::date();
- Env::misc();
-}
diff --git a/crates/maid/src/cli/butler.rs b/maid/client/cli/butler.rs
similarity index 100%
rename from crates/maid/src/cli/butler.rs
rename to maid/client/cli/butler.rs
diff --git a/crates/maid/src/cli/mod.rs b/maid/client/cli/mod.rs
similarity index 100%
rename from crates/maid/src/cli/mod.rs
rename to maid/client/cli/mod.rs
diff --git a/crates/maid/src/cli/run.rs b/maid/client/cli/run.rs
similarity index 100%
rename from crates/maid/src/cli/run.rs
rename to maid/client/cli/run.rs
diff --git a/crates/maid/src/cli/tasks.rs b/maid/client/cli/tasks.rs
similarity index 100%
rename from crates/maid/src/cli/tasks.rs
rename to maid/client/cli/tasks.rs
diff --git a/crates/maid/src/globals.rs b/maid/client/globals.rs
similarity index 100%
rename from crates/maid/src/globals.rs
rename to maid/client/globals.rs
diff --git a/crates/maid/src/helpers/file.rs b/maid/client/helpers/file.rs
similarity index 100%
rename from crates/maid/src/helpers/file.rs
rename to maid/client/helpers/file.rs
diff --git a/crates/maid/src/helpers/logger.rs b/maid/client/helpers/logger.rs
similarity index 100%
rename from crates/maid/src/helpers/logger.rs
rename to maid/client/helpers/logger.rs
diff --git a/crates/maid/src/helpers/maidfile.rs b/maid/client/helpers/maidfile.rs
similarity index 100%
rename from crates/maid/src/helpers/maidfile.rs
rename to maid/client/helpers/maidfile.rs
diff --git a/crates/maid/src/helpers/mod.rs b/maid/client/helpers/mod.rs
similarity index 100%
rename from crates/maid/src/helpers/mod.rs
rename to maid/client/helpers/mod.rs
diff --git a/crates/maid/src/helpers/status.rs b/maid/client/helpers/status.rs
similarity index 100%
rename from crates/maid/src/helpers/status.rs
rename to maid/client/helpers/status.rs
diff --git a/crates/maid-server/src/helpers/string.rs b/maid/client/helpers/string.rs
similarity index 100%
rename from crates/maid-server/src/helpers/string.rs
rename to maid/client/helpers/string.rs
diff --git a/crates/maid/src/main.rs b/maid/client/main.rs
similarity index 100%
rename from crates/maid/src/main.rs
rename to maid/client/main.rs
diff --git a/crates/maid/src/parse/file.rs b/maid/client/parse/file.rs
similarity index 100%
rename from crates/maid/src/parse/file.rs
rename to maid/client/parse/file.rs
diff --git a/crates/maid/src/parse/import.rs b/maid/client/parse/import.rs
similarity index 100%
rename from crates/maid/src/parse/import.rs
rename to maid/client/parse/import.rs
diff --git a/crates/maid/src/parse/mod.rs b/maid/client/parse/mod.rs
similarity index 100%
rename from crates/maid/src/parse/mod.rs
rename to maid/client/parse/mod.rs
diff --git a/crates/maid/src/server/api/health.rs b/maid/client/server/api/health.rs
similarity index 100%
rename from crates/maid/src/server/api/health.rs
rename to maid/client/server/api/health.rs
diff --git a/crates/maid/src/server/api/mod.rs b/maid/client/server/api/mod.rs
similarity index 100%
rename from crates/maid/src/server/api/mod.rs
rename to maid/client/server/api/mod.rs
diff --git a/crates/maid/src/server/cli.rs b/maid/client/server/cli.rs
similarity index 100%
rename from crates/maid/src/server/cli.rs
rename to maid/client/server/cli.rs
diff --git a/crates/maid/src/server/file.rs b/maid/client/server/file.rs
similarity index 100%
rename from crates/maid/src/server/file.rs
rename to maid/client/server/file.rs
diff --git a/crates/maid/src/server/mod.rs b/maid/client/server/mod.rs
similarity index 100%
rename from crates/maid/src/server/mod.rs
rename to maid/client/server/mod.rs
diff --git a/crates/maid/src/server/parse.rs b/maid/client/server/parse.rs
similarity index 100%
rename from crates/maid/src/server/parse.rs
rename to maid/client/server/parse.rs
diff --git a/crates/maid/src/shell.rs b/maid/client/shell.rs
similarity index 100%
rename from crates/maid/src/shell.rs
rename to maid/client/shell.rs
diff --git a/crates/maid/src/structs.rs b/maid/client/structs.rs
similarity index 100%
rename from crates/maid/src/structs.rs
rename to maid/client/structs.rs
diff --git a/crates/maid/src/table.rs b/maid/client/table.rs
similarity index 100%
rename from crates/maid/src/table.rs
rename to maid/client/table.rs
diff --git a/crates/maid/src/task/cache.rs b/maid/client/task/cache.rs
similarity index 100%
rename from crates/maid/src/task/cache.rs
rename to maid/client/task/cache.rs
diff --git a/crates/maid/src/task/mod.rs b/maid/client/task/mod.rs
similarity index 100%
rename from crates/maid/src/task/mod.rs
rename to maid/client/task/mod.rs
diff --git a/crates/maid/src/task/progress.rs b/maid/client/task/progress.rs
similarity index 100%
rename from crates/maid/src/task/progress.rs
rename to maid/client/task/progress.rs
diff --git a/crates/maid-server/src/docker/container.rs b/maid/server/docker/container.rs
similarity index 100%
rename from crates/maid-server/src/docker/container.rs
rename to maid/server/docker/container.rs
diff --git a/crates/maid-server/src/docker/mod.rs b/maid/server/docker/mod.rs
similarity index 100%
rename from crates/maid-server/src/docker/mod.rs
rename to maid/server/docker/mod.rs
diff --git a/crates/maid-server/src/docker/run.rs b/maid/server/docker/run.rs
similarity index 100%
rename from crates/maid-server/src/docker/run.rs
rename to maid/server/docker/run.rs
diff --git a/crates/maid-server/src/globals.rs b/maid/server/globals.rs
similarity index 100%
rename from crates/maid-server/src/globals.rs
rename to maid/server/globals.rs
diff --git a/crates/maid-server/src/helpers/file.rs b/maid/server/helpers/file.rs
similarity index 100%
rename from crates/maid-server/src/helpers/file.rs
rename to maid/server/helpers/file.rs
diff --git a/crates/maid-server/src/helpers/format.rs b/maid/server/helpers/format.rs
similarity index 100%
rename from crates/maid-server/src/helpers/format.rs
rename to maid/server/helpers/format.rs
diff --git a/crates/maid-server/src/helpers/logger.rs b/maid/server/helpers/logger.rs
similarity index 100%
rename from crates/maid-server/src/helpers/logger.rs
rename to maid/server/helpers/logger.rs
diff --git a/crates/maid-server/src/helpers/mod.rs b/maid/server/helpers/mod.rs
similarity index 100%
rename from crates/maid-server/src/helpers/mod.rs
rename to maid/server/helpers/mod.rs
diff --git a/crates/maid-server/src/helpers/os.rs b/maid/server/helpers/os.rs
similarity index 100%
rename from crates/maid-server/src/helpers/os.rs
rename to maid/server/helpers/os.rs
diff --git a/crates/maid/src/helpers/string.rs b/maid/server/helpers/string.rs
similarity index 100%
rename from crates/maid/src/helpers/string.rs
rename to maid/server/helpers/string.rs
diff --git a/crates/maid-server/src/main.rs b/maid/server/main.rs
similarity index 100%
rename from crates/maid-server/src/main.rs
rename to maid/server/main.rs
diff --git a/crates/maid-server/src/routes.rs b/maid/server/routes.rs
similarity index 100%
rename from crates/maid-server/src/routes.rs
rename to maid/server/routes.rs
diff --git a/crates/maid-server/src/structs.rs b/maid/server/structs.rs
similarity index 100%
rename from crates/maid-server/src/structs.rs
rename to maid/server/structs.rs
diff --git a/crates/maid-server/src/table.rs b/maid/server/table.rs
similarity index 100%
rename from crates/maid-server/src/table.rs
rename to maid/server/table.rs
diff --git a/scripts/build.toml b/scripts/build.toml
deleted file mode 100644
index 21cc9e403163162327ecc0117c4ee9210252faf0..0000000000000000000000000000000000000000
--- a/scripts/build.toml
+++ /dev/null
@@ -1,44 +0,0 @@
-# task intended to run on remote only
-[tasks.build_all]
-info = "build all"
-script = [
- # install packages
- "apt update --color always",
- "apt install zip mingw-w64 -y --color always",
- "mkdir build",
-
- # build linux (x86_64)
- "cargo zigbuild -r -p maid --color always",
- "mv target/release/maid build/maid",
- "zip build/maid_%{env.VERSION}_linux_amd64.zip build/maid",
- "rm build/maid",
-
- # build windows (x86_64)
- "cargo zigbuild -r -p maid --target x86_64-pc-windows-gnu --color always",
- "mv target/x86_64-pc-windows-gnu/release/maid.exe build/maid.exe",
- "zip build/maid_%{env.VERSION}_windows_amd64.zip build/maid.exe",
- "rm build/maid.exe",
-
- # build macos (x86_64)
- "cargo zigbuild -r -p maid --target x86_64-apple-darwin --color always",
- "mv target/x86_64-apple-darwin/release/maid build/maid",
- "zip build/maid_%{env.VERSION}_darwin_amd64.zip build/maid",
- "rm build/maid",
-
- # build macos (aarch64)
- "cargo zigbuild -r -p maid --target aarch64-apple-darwin --color always",
- "mv target/aarch64-apple-darwin/release/maid build/maid",
- "zip build/maid_%{env.VERSION}_darwin_arm.zip build/maid",
- "rm build/maid",
-
- # post build
- "ls -sh build",
-]
-
-[tasks.build_all.remote]
-silent = false
-exclusive = true
-shell = "/bin/bash"
-image = "themackabu/rust:zigbuild-1.74.0"
-push = ["crates", "Cargo.toml", "Cargo.lock"]
-pull = "build"
diff --git a/scripts/publish.toml b/scripts/publish.toml
deleted file mode 100644
index cea075907b81560f6560cd2fc5a2eb72d702f3f1..0000000000000000000000000000000000000000
--- a/scripts/publish.toml
+++ /dev/null
@@ -1,6 +0,0 @@
-[tasks]
-publish = { info = "Publish releases", script = "maid publish_%{arg.1} -q" }
-publish_client = { script = "cargo publish -p maid", hide = true }
-publish_server = { script = "cargo publish -p maid_server", hide = true }
-publish_packages = { script = ["cargo publish -p pretty_number", "cargo publish -p global_placeholders"], hide = true }
-publish_all = { script = ["maid publish_client -q", "maid publish_server -q", "maid publish_packages -q"], hide = true }
\ No newline at end of file
diff --git a/scripts/test.toml b/scripts/test.toml
deleted file mode 100644
index 9f98bfd79059cdc8bc63e9db37761e9cac6965b1..0000000000000000000000000000000000000000
--- a/scripts/test.toml
+++ /dev/null
@@ -1,15 +0,0 @@
-[tasks]
-# test dependencies
-test = { script = "echo hello world", depends = ["dep1", "dep2", "exit bad"] }
-dep1 = { script = "sleep 3", hide = true }
-dep2 = { script = "sleep 2", hide = true }
-
-# other tests
-hidden = { script = "echo hidden", hide = true }
-debug = { info = "debug env", path="src", script = ["echo %{env.BOOL}", "echo %{env.STRING}", "echo %{arg.1}", "echo %{dir.current}", "echo %{dir.home}", "echo %{env.TYPE}", "echo %{env.ARR}", "echo %{os.platform}", "echo %{os.arch}"] }
-broken = { info = "bad task", script = ["this_does_not_exist"] }
-
-# exit types
-exit = { script = "maid 'exit %{arg.1}'" }
-"exit bad" = { script = ["exit_test 0", "exit_test 1", "exit_test 2"], hide = true }
-"exit good" = { script = ["exit_test 2", "exit_test 1", "exit_test 0"], hide = true }
\ No newline at end of file