forked from rosa/hakurei
cmd/mbf: jstest: add basic CLI reporter
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user