build

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: BSD-3-Clause Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AndroidAPK

func AndroidAPK(m Metadata, a *Args) error

func FindAndroidHome

func FindAndroidHome() (string, error)

func FindNDK

func FindNDK(androidHome string) (string, error)

func Run

func Run(args []string)

Types

type Args

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

func CreateArgs

func CreateArgs(f *flag.FlagSet) *Args

func (*Args) BuildDir

func (a *Args) BuildDir() string

func (*Args) Chdir

func (a *Args) Chdir() string

func (*Args) DebugBuild

func (a *Args) DebugBuild() bool

func (*Args) OutDir

func (a *Args) OutDir() string

func (*Args) WaitDebugger

func (a *Args) WaitDebugger(wait bool)

type Metadata

type Metadata struct {
	AppID   string
	Name    string
	Build   int
	Version string
	Android struct {
		MinSDK    int
		TargetSDK int
	}
}

func DefaultMetadata

func DefaultMetadata() (Metadata, error)

func (*Metadata) FixupAndroidVer

func (m *Metadata) FixupAndroidVer()

Jump to

Keyboard shortcuts

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