Documentation ¶
Index ¶
- Variables
- func AppFactory() app.App
- func HasGem(dir, name string) (bool, error)
- type App
- func (a *App) Build(ctx *app.Context) error
- func (a *App) Compile(ctx *app.Context) (*app.CompileResult, error)
- func (a *App) Deploy(ctx *app.Context) error
- func (a *App) Dev(ctx *app.Context) error
- func (a *App) DevDep(dst, src *app.Context) (*app.DevDep, error)
- func (a *App) Implicit(ctx *app.Context) (*appfile.File, error)
- func (a *App) Meta() (*app.Meta, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Detectors = []*detect.Detector{ &detect.Detector{ Type: "rails", File: []string{"config/application.rb"}, }, &detect.Detector{ Type: "ruby", File: []string{"*.rb", "Gemfile", "config.ru"}, }, }
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{
{"rails", "aws", "simple"},
{"ruby", "aws", "simple"},
{"ruby", "aws", "vpc-public-private"},
})
Tuples is the list of tuples that this built-in app implementation knows that it can support.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.