File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /bin/sh
22
3- dotnet ../../../../../../out/bin/Release/NodeApi.Generator/net10.0/osx-arm64/Microsoft.JavaScript.NodeApi.Generator.dll \
4- --assembly " ../../../Library/ScriptAssemblies/Unity.NodeApi.dll" \
5- --reference " Microsoft.JavaScript.NodeApi.dll" \
6- --typedefs " Unity.NodeApi.d.ts"
3+ pushd ../../../Build_BackUpThisFolder_ButDontShipItWithYourGame/Managed/
4+
5+ # enumerate all .dll files in the current directory and put them to semicolon-separated list
6+ refs=$( find . -name " *.dll" -type f -print0 | sed ' s/.\//;/g' )
7+
8+ dotnet ~ /Documents/node-api-dotnet/out/bin/Release/NodeApi.Generator/net10.0/osx-arm64/Microsoft.JavaScript.NodeApi.Generator.dll \
9+ --assembly " Unity.NodeApi.dll" \
10+ --reference " $refs " \
11+ --typedefs " Unity.NodeApi.d.ts" \
12+ --framework " netstandard2.1"
13+
14+ popd
You can’t perform that action at this time.
0 commit comments