bundler

package
v0.0.1-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Install

func Install(options Options)

Types

type Apt

type Apt struct {
	InstallSteps        []InstallStep `json:"install_steps"`
	UpdateSteps         []UpdateSteps `json:"update_steps"`
	PostInstallMessages []string      `json:"post_install_messages"`
}

type Extension

type Extension struct {
	Name                string
	Git                 string
	Branch              string
	Ref                 string
	Tag                 string
	Path                string
	InstallSteps        []InstallStep
	Files               []File
	PostInstallMessages []string
	BasePath            string
}

func (Extension) Init

func (e Extension) Init(options Options) Extension

func (Extension) Install

func (e Extension) Install(options Options) bool

type File

type File struct {
	Source    string `json:"source"`
	Target    string `json:"target"`
	Operation string `json:"operation"`
}

type Homebrew

type Homebrew struct {
	InstallSteps        []InstallStep `json:"install_steps"`
	UpdateSteps         []UpdateSteps `json:"update_steps"`
	PostInstallMessages []string      `json:"post_install_messages"`
}

type InstallStep

type InstallStep struct {
	Binary  string `json:"binary"`
	Command string `json:"command"`
	RunIf   string `json:"runif"`
}

type Macos

type Macos struct {
	Homebrew Homebrew `json:"homebrew"`
	Files    []File   `json:"files"`
}

type Manifest

type Manifest struct {
	Author    string    `json:"author"`
	Platforms Platforms `json:"platforms"`
}

type Options

type Options struct {
	OverwriteFiles bool
	SkipFiles      bool
	BedrockDir     string
	PackageManager string
}

type Platforms

type Platforms struct {
	Macos  Macos  `json:"macos"`
	Ubuntu Ubuntu `json:"ubuntu"`
}

type Ubuntu

type Ubuntu struct {
	Apt   Apt    `json:"apt"`
	Files []File `json:"files"`
}

type Unsupported

type Unsupported struct {
	InstallSteps []InstallStep
	UpdateSteps  []UpdateSteps
}

type UpdateSteps

type UpdateSteps struct {
	Binary  string `json:"binary"`
	Command string `json:"command"`
}

Jump to

Keyboard shortcuts

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