mkpkg

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2019 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Package mkpkg is a

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DarwinConfig

type DarwinConfig struct {
	// welcome message to show in the installer when installer is launched
	WelcomeMsg string
	// conclusion message to show in the installer when installation is complete
	ConclusionMsg string
	// path to a 140x370 png file to use as the installer background
	BgPngPath string
	// Minimum os x version. Default is 10.6.0
	MinOSXVersion string
	// Path to compatible darwin binary executable to install
	// name of binary must
	BinPath string
}

DarwinConfig encapsulates configuration details for creating a darwin PKG

type MSIConfig

type MSIConfig struct {
}

MSIConfig configures an MSI Package

type Package

type Package struct {
	// Human-friendly name of the project, eg: "The Go Programming Language"
	Name string
	// name of the binary. eg "go"
	BinName string
	// short description. eg: "The Go programming language is a fast, statically typed, compiled language that feels like a dynamically typed, interpreted language."
	Description string
	// url for the project eg: "https://golang.org"
	SiteURL string
	// app identifier in reverse-domain notation, eg: com.googlecode.go
	Identifier string
	// semantic version identifier with "v" prefix. eg: v1.0.0
	Version string
	// Darwin-Specific Configuration Details
	Darwin DarwinConfig
	// MSI-Specific Configuration Details
	MSI MSIConfig
}

Package contains state for package construction

func (Package) MakeDarwin

func (p Package) MakeDarwin() error

MakeDarwin creates an os X .pkg

Jump to

Keyboard shortcuts

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