build

package
v0.115.0-nightly Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2026 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handle

func Handle(args []string)

Handle is the entry point for the build command.

Types

type Builder

type Builder struct {
	// contains filtered or unexported fields
}

Builder orchestrates the entire build process.

func NewBuilder

func NewBuilder(flags *Flags) *Builder

NewBuilder creates a new Builder.

func (*Builder) Build

func (b *Builder) Build() error

Build runs the full build pipeline.

type Flags

type Flags struct {
	Arch    string
	Output  string
	Verbose bool
	Sign    bool // Sign the archive manifest with rootwallet
}

Flags represents build command flags.

type Manifest

type Manifest struct {
	Version   string            `json:"version"`
	Commit    string            `json:"commit"`
	Date      string            `json:"date"`
	Arch      string            `json:"arch"`
	Checksums map[string]string `json:"checksums"` // filename -> sha256
}

Manifest describes the contents of a binary archive.

Jump to

Keyboard shortcuts

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