build

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: BSD-2-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FillCtx

func FillCtx(buildCtx *BuildCtx, cliOpts *config.CliOpts, args []string) error

FillCtx fills build context.

func Run

func Run(cmdCtx *cmdcontext.CmdCtx, cliOpts *config.CliOpts, buildCtx *BuildCtx) error

Run builds an application.

Types

type BuildCtx

type BuildCtx struct {
	// BuildDir is an application directory.
	BuildDir string
	// SpecFile is a rockspec file to be used for build.
	SpecFile string
}

BuildCtx contains information for application building.

Jump to

Keyboard shortcuts

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