Documentation
¶
Index ¶
- type AfterBuilder
- type BeforeBuilder
- type Builder
- type Command
- func (c Command) Alias() string
- func (b *Command) Flags() *pflag.FlagSet
- func (b Command) HelpText() string
- func (b Command) Name() string
- func (b Command) ParentName() string
- func (b *Command) ParseFlags(args []string)
- func (b *Command) Receive(plugins []core.Plugin)
- func (b *Command) Run(ctx context.Context, root string, args []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AfterBuilder ¶
AfterBuilder interface allows to identify the things that will run after the build process has ended, things like cleanup and reverting go here
type BeforeBuilder ¶
type BeforeBuilder interface { core.Plugin RunBeforeBuild(context.Context, string, []string) error }
BeforeBuilder interface allows to identify the things that will run before the build process has started.
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
func (Command) ParentName ¶
func (*Command) ParseFlags ¶
func (*Command) Run ¶
Run builds a buffalo app from within the root folder of the project To do so, It:x - Sets GO_ENV to be production - Runs NPM or YARN depending on what if finds - Runs Packr, Pkger or Other Packing tool - Injects database.yml and inflections. - Overrides main.go to add migrate - Runs go build
Click to show internal directories.
Click to hide internal directories.