From 89dfac0fb47340386f5cea2cb4b41be2121f7921 Mon Sep 17 00:00:00 2001 From: joaoviictorti Date: Tue, 18 Feb 2025 14:02:55 -0300 Subject: [PATCH] Update Makefile.toml --- Makefile.toml | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/Makefile.toml b/Makefile.toml index dacbf66..5f472aa 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -1,35 +1,21 @@ [tasks.build-client] -description = "Build the project inside the client directory" command = "cargo" args = ["build", "--release", "--manifest-path", "client/Cargo.toml"] -[tasks.update-client] -description = "Update dependencies in the client directory" -command = "cargo" -args = ["update", "--manifest-path", "client/Cargo.toml"] - -[tasks.update-shared] -description = "Update dependencies in the shared directory" -command = "cargo" -args = ["update", "--manifest-path", "shared/Cargo.toml"] - [tasks.clean-client] -description = "Clean the project inside the client directory" cwd = "client" command = "cargo" args = ["clean"] -[tasks.clean-shared] -description = "Clean the project inside the shared directory" -cwd = "shared" +[tasks.clean-common] +cwd = "common" command = "cargo" args = ["clean"] [tasks.clean] -description = "Clean both client and shared directories" -dependencies = ["clean-client", "clean-shared"] +description = "Clean both client and common directories" +dependencies = ["clean-client", "clean-common"] -# Define the default task to build client and update dependencies in both directories [tasks.default] -description = "Build client and run cargo update in both client and shared" +description = "Build client and run cargo update in both client and common" dependencies = ["build-client", "update-client", "update-shared"]