build

package
v0.38.0 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2019 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const BuildPath = "go"

BuildPath sets the name of the directory used to store the go-flutter project. Much like android and ios are already used.

Variables

View Source
var (
	GoBin      string
	FlutterBin string
	DockerBin  string
	GitBin     string
)

Path to external tools used by hover

Functions

func EngineFile added in v0.35.0

func EngineFile(targetOS string) string

EngineFile returns the name of the engine file from flutter for the specified platform.

func IntermediatesDirectoryPath added in v0.37.0

func IntermediatesDirectoryPath(targetOS string) string

IntermediatesDirectoryPath returns the path where the intermediates stored. If needed, the directory is create at the returned path.

Those intermediates include the dynamic library dependencies of go-flutter plugins. hover copies these intermediates from flutter plugins folder when `hover plugins get`, and copies to go-flutter's binary output folder before build.

func OutputBinaryName

func OutputBinaryName(projectName string, targetOS string) string

OutputBinaryName returns the string of the executable used to launch the main desktop app. (appends .exe for windows)

func OutputBinaryPath

func OutputBinaryPath(projectName string, targetOS string) string

OutputBinaryPath returns the path to the go-flutter Application for a specified platform.

func OutputDirectoryPath

func OutputDirectoryPath(targetOS string) string

OutputDirectoryPath returns the path where the go-flutter binary and flutter binaries blobs will be stored for a particular platform. If needed, the directory is create at the returned path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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