1
0
forked from rosa/hakurei

cmd/mbf: jstest: add basic CLI reporter

This commit is contained in:
kat
2026-03-29 01:34:50 +11:00
parent cb4b2706c0
commit d749d46bd1
7 changed files with 147 additions and 18 deletions

View File

@@ -1,21 +1,11 @@
//go:build frontend
//go:build frontend && !frontend_test
package ui
import (
"embed"
"io/fs"
)
import "embed"
//go:generate tsc
//go:generate tsc -p tsconfig.ui.json
//go:generate cp index.html style.css favicon.ico static
//go:embed static
var _static embed.FS
var static = func() fs.FS {
if f, err := fs.Sub(_static, "static"); err != nil {
panic(err)
} else {
return f
}
}()
var static = staticFS(_static)