From 88624de6677b3e20a33ed57a6f0f3f1ea0cdc7c0 Mon Sep 17 00:00:00 2001 From: Daniel Vigovszky Date: Fri, 11 Oct 2024 09:10:39 +0200 Subject: [PATCH] Fix publish order (#1002) --- Makefile.toml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Makefile.toml b/Makefile.toml index a27cda768..573094678 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -55,7 +55,9 @@ command = "cargo" args = ["build", "--workspace", "--all-targets"] [tasks.build-bins-non-ci] -condition = { env_not_set = ["CI"] } # on CI we always 'cargo make build' first so no need to recompile bins +condition = { env_not_set = [ + "CI", +] } # on CI we always 'cargo make build' first so no need to recompile bins run_task = "build-bins" [tasks.build-bins] @@ -106,7 +108,7 @@ command = "cargo" args = [ "build", "-p", - "golem-shard-manager", # NOTE: Not all projects are cross-compilable because of an openssl dependency + "golem-shard-manager", # NOTE: Not all projects are cross-compilable because of an openssl dependency "-p", "golem-worker-executor", "-p", @@ -322,7 +324,7 @@ args = [ "integration", "--", "--nocapture", - "--test-threads=1" + "--test-threads=1", ] ## ** CHECK-OPENAPI ** @@ -405,10 +407,10 @@ args = ["-v", "./target/golem-service.yaml", "./openapi/golem-service.yaml"] description = "Publishes packages to crates.io" dependencies = [ "build-release", - "publish-golem-client", "publish-golem-api-grpc", - "publish-golem-rib", "publish-golem-common", + "publish-golem-client", + "publish-golem-rib", "publish-golem-service-base", "publish-golem-test-framework", "publish-golem-cli", @@ -658,9 +660,7 @@ export RUST_BACKTRACE=1 [tasks.check-configs] description = "Generates configs from code and checks if it's committed" -dependencies = [ - "generate-configs" -] +dependencies = ["generate-configs"] script = ''' git diff --exit-code \ @@ -694,4 +694,4 @@ docker compose --project-directory log-tools/elastic stop description = "Stops and removes the elastic environment, including all data" script = ''' docker compose --project-directory log-tools/elastic down --volumes -''' \ No newline at end of file +'''