scriptpackapp

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2016 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Detectors = []*detect.Detector{
	&detect.Detector{
		Type: "scriptpack",
		Contents: map[string]string{
			"main.go": `^var ScriptPack =`,
		},

		Priority: 10,
	},
}

Detectors is the list of detectors that trigger this app to be used.

View Source
var Meta = &app.Meta{
	Tuples:    Tuples,
	Detectors: Detectors,
}

Meta is the metadata for this app type

View Source
var Tuples = app.TupleSlice([]app.Tuple{
	{"scriptpack", "*", "*"},
})

Tuples is the list of tuples that this built-in app implementation knows that it can support.

Functions

func AppFactory

func AppFactory() app.App

AppFactory is the factory for this app

Types

type App

type App struct{}

App is an implementation of app.App

func (*App) Build

func (a *App) Build(ctx *app.Context) error

func (*App) Compile

func (a *App) Compile(ctx *app.Context) (*app.CompileResult, error)

func (*App) Deploy

func (a *App) Deploy(ctx *app.Context) error

func (*App) Dev

func (a *App) Dev(ctx *app.Context) error

func (*App) DevDep

func (a *App) DevDep(dst, src *app.Context) (*app.DevDep, error)

func (*App) Implicit

func (a *App) Implicit(ctx *app.Context) (*appfile.File, error)

func (*App) Meta

func (a *App) Meta() (*app.Meta, error)

Jump to

Keyboard shortcuts

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