project

package
v2.0.0-alpha.61 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Author

type Author struct {
	Name  string `json:"name"`
	Email string `json:"email"`
}

Author stores details about the application author

type Project

type Project struct {

	/*** Application Data ***/
	Name string `json:"name"`

	// Application HTML, JS and CSS filenames
	HTML           string `json:"html"`
	JS             string `json:"js"`
	CSS            string `json:"css"`
	BuildCommand   string `json:"frontend:build"`
	InstallCommand string `json:"frontend:install"`

	// The path to the project directory
	Path string

	// Assets directory
	AssetsDir string `json:"assetsdir"`

	// The output filename
	OutputFilename string `json:"outputfilename"`

	// The type of application. EG: Desktop, Server, etc
	OutputType string

	// The platform to target
	Platform string

	// The application author
	Author Author
}

Project holds the data related to a Wails project

func Load

func Load(projectPath string) (*Project, error)

Load the project from the current working directory

Jump to

Keyboard shortcuts

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