Documentation
¶
Overview ¶
Package appfile reads and writes encore.app files.
Index ¶
Constants ¶
View Source
const Name = "encore.app"
Name is the name of the Encore app file. It is expected to be located in the root of the Encore app (which is usually the Git repository root).
Variables ¶
This section is empty.
Functions ¶
func Experiments ¶
func Experiments(appRoot string) ([]experiments.Name, error)
Experiments returns the experimental feature the app located at appRoot has opted into.
Types ¶
type Build ¶ added in v1.27.6
type Build struct {
// CgoEnabled enables building with cgo.
CgoEnabled bool `json:"cgo_enabled,omitempty"`
// Docker configures the docker images built
// by Encore's CI/CD system.
Docker Docker `json:"docker,omitempty"`
// WorkerPooling enables worker pooling for Encore.ts.
WorkerPooling bool `json:"worker_pooling,omitempty"`
}