We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59be1fb commit 90027eeCopy full SHA for 90027ee
project.json
@@ -5,7 +5,7 @@
5
"build:native": {
6
"executor": "nx:run-commands",
7
"options": {
8
- "command": "npx @napi-rs/cli build --platform --target {args.target} --release ${USE_ZIG:+--zig}"
+ "command": "bash scripts/build.sh {args.target}"
9
},
10
"outputs": [
11
"{workspaceRoot}/cel-typescript.darwin-arm64.node",
scripts/build.sh
@@ -0,0 +1,7 @@
1
+#!/bin/bash
2
+
3
+if [ "$USE_ZIG" = "true" ]; then
4
+ npx @napi-rs/cli build --platform --target "$1" --release --zig
+else
+ npx @napi-rs/cli build --platform --target "$1" --release
+fi
0 commit comments