Documentation ¶
Overview ¶
Package scoop provides a Pipe that generates a scoop.sh App Manifest and pushes it to a bucket.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrIncorrectArchiveCount ¶ added in v1.18.0
type ErrIncorrectArchiveCount struct {
// contains filtered or unexported fields
}
ErrIncorrectArchiveCount happens when a given filter evaluates 0 or more than 1 archives.
func (ErrIncorrectArchiveCount) Error ¶ added in v1.18.0
func (e ErrIncorrectArchiveCount) Error() string
type Manifest ¶
type Manifest struct { Version string `json:"version"` // The version of the app that this manifest installs. Architecture map[string]Resource `json:"architecture"` // `architecture`: If the app has 32- and 64-bit versions, architecture can be used to wrap the differences. Homepage string `json:"homepage,omitempty"` // `homepage`: The home page for the program. License string `json:"license,omitempty"` // `license`: The software license for the program. For well-known licenses, this will be a string like "MIT" or "GPL2". For custom licenses, this should be the URL of the license. Description string `json:"description,omitempty"` // Description of the app Persist []string `json:"persist,omitempty"` // Persist data between updates PreInstall []string `json:"pre_install,omitempty"` // An array of strings, of the commands to be executed before an application is installed. PostInstall []string `json:"post_install,omitempty"` // An array of strings, of the commands to be executed after an application is installed. Depends []string `json:"depends,omitempty"` // A string or an array of strings. Shortcuts [][]string `json:"shortcuts,omitempty"` // A two-dimensional array of string, specifies the shortcut values to make available in the startmenu. }
Manifest represents a scoop.sh App Manifest. more info: https://github.com/lukesampson/scoop/wiki/App-Manifests
type Pipe ¶
type Pipe struct{}
Pipe that builds and publishes scoop manifests.
func (Pipe) ContinueOnError ¶ added in v1.19.0
Click to show internal directories.
Click to hide internal directories.