builder

package
v0.0.0-...-efab2a5 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunScript

func RunScript(cmds string) error

RunScript runs a shell script.

It takes a string parameter `cmds` which represents the shell script to be executed. The function returns an error if there was an issue running the script.

Types

type Builder

type Builder struct {
	PKGBUILD *pkgbuild.PKGBUILD
}

Builder maps PKGBUILD to generic functions aimed at artifacts generation.

func (*Builder) Compile

func (builder *Builder) Compile() error

Compile manages all the instructions that lead to a single project artifact. It returns any error if occurred.

func (*Builder) Package

func (builder *Builder) Package() error

Package executes the instructions provided by a single project package() function. It returns any error if occurred.

Jump to

Keyboard shortcuts

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