elm

package
v0.8.6 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package elm provides all needed logic for installation of Elm

Index

Constants

This section is empty.

Variables

View Source
var (
	// VersionLink is the URL link from which we can get all possible versions
	VersionLink = "https://dl.bintray.com/elmlang/elm-platform"
)

Functions

This section is empty.

Types

type Elm

type Elm struct {
	Version string
	Emitter *emission.Emitter
	pkg.Base
}

Elm essential struct

func New

func New(version string, emitter *emission.Emitter) *Elm

New returns language struct

func (Elm) Bins

func (elm Elm) Bins() []string

Bins returns list of the all bins included with the distribution of the language

func (Elm) Dots

func (elm Elm) Dots() []string

Dots returns list of the all available filenames which can define versions

func (Elm) Events

func (elm Elm) Events() *emission.Emitter

Events returns language related event emitter

func (Elm) Info

func (elm Elm) Info() map[string]string

Info provides all the info needed for installation of the plugin

func (Elm) ListRemote

func (elm Elm) ListRemote() ([]string, error)

ListRemote returns list of the all available remote versions

func (Elm) PostInstall

func (elm Elm) PostInstall() error

PostInstall hook

func (Elm) PreDownload

func (elm Elm) PreDownload() (err error)

PreDownload hook

Jump to

Keyboard shortcuts

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