Skip to content

Commit dc3be5e

Browse files
committed
fix(jsii-dotnet-runtime): Build projects, not solutions.
The build script for jsii-dotnet-runtime built the solution, which would include the integration tests now that they are added to the solution. The script now only builds the runtime (and implicitly its dependencies).
1 parent 20321af commit dc3be5e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/jsii-dotnet-runtime/build.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ rsync -av node_modules/jsii-runtime/webpack/ ${bundle_dir}
1111
# up an old build from the cache if it exists. So we
1212
# explicitly clear the cache as a temporary workaround.
1313
dotnet nuget locals all --clear
14-
dotnet build -c Release ./src/Amazon.JSII.Runtime.sln
14+
15+
# Build just Runtime and it's dependencies instead of the
16+
# solution to avoid integration tests from trying to be
17+
# built before the calc packages are generated.
18+
dotnet build -c Release ./src/Amazon.JSII.Runtime
1519

1620
cp -f ./bin/Release/NuGet/*.nupkg .

0 commit comments

Comments
 (0)