TestWebGL 0.0.2

dotnet tool install --global TestWebGL --version 0.0.2
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local TestWebGL --version 0.0.2
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=TestWebGL&version=0.0.2
                    
nuke :add-package TestWebGL --version 0.0.2
                    

Test Unity WebGL build locally

To install the server as dotnet tool run the following:

dotnet tool install TestWebGL --global

Then you should be able to run the tool. You can check it by running the tool with --help or --version option:

test-webgl --help
Usage: test-webgl [--root <String>] [--port <Int32>] [--http] [--help] [--version]

TestWebGL

Options:
  -r, --root <String>    Optional path to WebGL Build root folder. Should contain index.html.
  -p, --port <Int32>     Optional web server port
  --http                 Use HTTP instead of HTTPS
  -h, --help             Show help message
  --version              Show version

To run the server from build output folder execute command with no arguments:

test-webgl

Or you can pass path to the build output directory via --path option:

test-webgl --root <path-to-build>
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.0.2 147 2/18/2025
0.0.1 102 2/18/2025