Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
nitaliano committed Dec 3, 2024
1 parent 26dd977 commit 1fd0656
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,24 @@ build_darwin() {
for arch in "${darwin_archs[@]}"; do
rustup target add $arch
echo "Building for macos architecture: $arch"
CLI_BUILD_ARCH="$arch" pnpm nx run-many --target=build:bindings --skip-nx-cache
CLI_BUILD_ARCH=$arch pnpm nx run-many --target=build:bindings --skip-nx-cache
done
}

build_linux() {
for arch in "${linux_archs[@]}"; do
rustup target add $arch
echo "Building for linux architecture: $arch"
CLI_BUILD_ARCH="$arch" pnpm nx run-many --target=build:bindings --skip-nx-cache
CLI_BUILD_ARCH=$arch pnpm nx run-many --target=build:bindings --skip-nx-cache
done
}

build_windows() {
for arch in "${windows_archs[@]}"; do
rustup target add $arch
echo "Building for windows architecture: $arch"
CLI_BUILD_ARCH="$arch" pnpm nx run-many --target=build:bindings --skip-nx-cache
export CLI_BUILD_ARCH=$arch
pnpm nx run-many --target=build:bindings --skip-nx-cache
done
}

Expand Down

0 comments on commit 1fd0656

Please sign in to comment.