Skip to content

Commit

Permalink
fix(jsii-dotnet-runtime): Build projects, not solutions.
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
costleya committed Nov 9, 2018
1 parent 20321af commit dc3be5e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/jsii-dotnet-runtime/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ rsync -av node_modules/jsii-runtime/webpack/ ${bundle_dir}
# up an old build from the cache if it exists. So we
# explicitly clear the cache as a temporary workaround.
dotnet nuget locals all --clear
dotnet build -c Release ./src/Amazon.JSII.Runtime.sln

# Build just Runtime and it's dependencies instead of the
# solution to avoid integration tests from trying to be
# built before the calc packages are generated.
dotnet build -c Release ./src/Amazon.JSII.Runtime

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

0 comments on commit dc3be5e

Please sign in to comment.