From 898a4d940527f54c20abe175a3796563c2a9de03 Mon Sep 17 00:00:00 2001 From: dalance Date: Wed, 3 Jul 2024 16:53:25 +0900 Subject: [PATCH] Fix Makefile --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 58d0fb79..1926040d 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ lint: release_lnx: cargo build --locked --release --target=x86_64-unknown-linux-musl $(addprefix --bin , ${BIN_NAMES}) - cd ./support/sourcemap-resolver; cargo build --locked --release --target=x86_64-unknown-linux-musl + cd ./support/sourcemap-resolver && cargo build --locked --release --target=x86_64-unknown-linux-musl zip -j ${ZIP_NAME}-x86_64-linux.zip $(addprefix target/x86_64-unknown-linux-musl/release/, ${BIN_NAMES}) \ ./support/sourcemap-resolver/target/x86_64-unknown-linux-musl/release/sourcemap-resolver @@ -39,8 +39,8 @@ release_win: release_mac: cargo build --locked --release --target=x86_64-apple-darwin $(addprefix --bin , ${BIN_NAMES}) cargo build --locked --release --target=aarch64-apple-darwin $(addprefix --bin , ${BIN_NAMES}) - cd ./support/sourcemap-resolver; cargo build --locked --release --target=x86_64-apple-darwin - cd ./support/sourcemap-resolver; cargo build --locked --release --target=aarch64-apple-darwin + cd ./support/sourcemap-resolver && cargo build --locked --release --target=x86_64-apple-darwin + cd ./support/sourcemap-resolver && cargo build --locked --release --target=aarch64-apple-darwin zip -j ${ZIP_NAME}-x86_64-mac.zip $(addprefix target/x86_64-apple-darwin/release/, ${BIN_NAMES}) \ ./support/sourcemap-resolver/target/x86_64-apple-darwin/release/sourcemap-resolver zip -j ${ZIP_NAME}-aarch64-mac.zip $(addprefix target/aarch64-apple-darwin/release/, ${BIN_NAMES}) \