From 63d7023e6d577490364dcf3d406920baea6723a0 Mon Sep 17 00:00:00 2001 From: Friedrich von Never Date: Sat, 20 Apr 2024 17:37:57 +0200 Subject: [PATCH] (#80) Docs: document how to run the SDK tests --- docs/tests.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/tests.md b/docs/tests.md index 30781b70..0ce7cd13 100644 --- a/docs/tests.md +++ b/docs/tests.md @@ -80,6 +80,11 @@ Compiler packing is done by 2 NUKE targets: - `PublishCompilerBundle`: a target that make platform-specific `dotnet publish` of compiler bundle to corresponding artifacts' folder. - `PackCompilerBundle`: a target that wraps a published compiler bundle into a NuGet package which is then used by SDK to deliver compiler to user's project +If you want to run these tests separately, run the targets using a shell command: +```console +$ dotnet nuke PackCompilerBundle +``` + Both targets are called automatically when `TestSdk` target is invoked. SDK itself should also be built to be used in test projects. This is done by dependent target `PackSdk` which produces `Cesium.Sdk` NuGet package, suitable as Project SDK.