assets.go
| 1 | // Package hearthforge embeds the static web assets and the build VM sources |
| 2 | // into the binary. |
| 3 | package hearthforge |
| 4 | |
| 5 | import "embed" |
| 6 | |
| 7 | // StaticFS holds CSS, JS and icons under web/static. |
| 8 | // |
| 9 | //go:embed all:web/static |
| 10 | var StaticFS embed.FS |
| 11 | |
| 12 | // VMFS holds vm/, the build context of the build VM image. |
| 13 | // |
| 14 | //go:embed vm |
| 15 | var VMFS embed.FS |
| 16 |