uibuild

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package uibuild lets tests of an embedded app skip when it is not built. Only a release commit carries the built viewer and local app; any other checkout embeds an empty directory until "just viewer-build" runs. Only tests import this package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Require

func Require(t testing.TB, assets fs.FS)

Require skips a test that reads the built app when there is none, unless BAUM_REQUIRE_UI is set: a check that built the app first sets it, so a missing build fails there instead of passing silently.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL