- embed.go: root package exposes Scripts/Assets embed.FS - internal/config: Config struct, Load/Save/Default - internal/runner: Step list, Runner with context cancel, log streaming - internal/tui: bubbletea model - huh form (phase 1) + live log view (phase 2) + summary (phase 3) - cmd/xetup/main.go: main binary, extracts embedded content to tmpdir, runs TUI - Builds to 5.2 MB xetup.exe (GOOS=windows GOARCH=amd64) spec/index.html: - arch-xetup section: mark 5 items flag-done (code now exists) - Add "Nove nastaveni" section linked to Forgejo issue #15 - Add sidebar link for new-requests - Add CSS + JS for request widget (loads/posts to issue #15 comments) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
16 lines
478 B
Go
16 lines
478 B
Go
// Package xetup exposes embedded PowerShell scripts and assets for use by
|
|
// cmd/xetup. Placing the embed declarations here (at the module root) gives
|
|
// the //go:embed directives a clear, stable relative path to the content.
|
|
package xetup
|
|
|
|
import "embed"
|
|
|
|
// Scripts holds all PowerShell scripts from the scripts/ directory.
|
|
//
|
|
//go:embed scripts
|
|
var Scripts embed.FS
|
|
|
|
// Assets holds all deployment assets from the assets/ directory.
|
|
//
|
|
//go:embed assets
|
|
var Assets embed.FS
|