From ab740a7c5a6704e2fd53916600e434ed739a826a Mon Sep 17 00:00:00 2001 From: Aravinth Manivannan Date: Fri, 27 Oct 2023 03:55:23 +0530 Subject: [PATCH] fix: build dir --- Cargo.lock | 2 +- Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8f9fc1c..18740f5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -786,7 +786,7 @@ dependencies = [ [[package]] name = "mcaptcha-cli" -version = "0.2.0" +version = "0.3.0" dependencies = [ "clap", "mcaptcha_pow_sha256", diff --git a/Makefile b/Makefile index ec0668e..9a312ab 100644 --- a/Makefile +++ b/Makefile @@ -32,9 +32,9 @@ install.rust: define build rm -rf target/ cross build --release --target $(1) - mkdir -p build2/$(1) + mkdir -p build/$(1) @rm target/$(1)/release/mcaptcha-cli.d - mv target/$(1)/release/mcaptcha-cli* build2/$(1)/ + mv target/$(1)/release/mcaptcha-cli* build/$(1)/ rm -rf target/ endef