build

package
v0.1.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildPackage

func BuildPackage(ctx context.Context, opts types.BuildOpts) ([]string, []string, error)

BuildPackage builds the script at the given path. It returns two slices. One contains the paths to the built package(s), the other contains the names of the built package(s).

func GetScriptPaths

func GetScriptPaths(ctx context.Context, pkgs []db.Package) []string

GetScriptPaths returns a slice of script paths corresponding to the given packages

func InstallPkgs

func InstallPkgs(ctx context.Context, lurePkgs []db.Package, nativePkgs []string, opts types.BuildOpts)

InstallPkgs installs native packages via the package manager, then builds and installs the LURE packages

func InstallScripts

func InstallScripts(ctx context.Context, scripts []string, opts types.BuildOpts)

InstallScripts builds and installs the given LURE build scripts

Types

This section is empty.

Jump to

Keyboard shortcuts

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