nodeapp

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: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Detectors = []*detect.Detector{
	&detect.Detector{
		Type: "node",
		File: []string{"package.json"},

		Priority: -1,
	},
}

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{
	{"node", "aws", "simple"},
})

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

Functions

func AppFactory added in v0.2.0

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 added in v0.2.0

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

func (*App) Meta added in v0.2.0

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