fix: build dir
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Aravinth Manivannan 2023-10-27 03:55:23 +05:30
parent 8601f32e52
commit ab740a7c5a
Signed by: realaravinth
GPG key ID: F8F50389936984FF
2 changed files with 3 additions and 3 deletions

2
Cargo.lock generated
View file

@ -786,7 +786,7 @@ dependencies = [
[[package]] [[package]]
name = "mcaptcha-cli" name = "mcaptcha-cli"
version = "0.2.0" version = "0.3.0"
dependencies = [ dependencies = [
"clap", "clap",
"mcaptcha_pow_sha256", "mcaptcha_pow_sha256",

View file

@ -32,9 +32,9 @@ install.rust:
define build define build
rm -rf target/ rm -rf target/
cross build --release --target $(1) cross build --release --target $(1)
mkdir -p build2/$(1) mkdir -p build/$(1)
@rm target/$(1)/release/mcaptcha-cli.d @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/ rm -rf target/
endef endef