mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-18 14:36:30 +00:00
24 lines
419 B
Go
24 lines
419 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"github.com/codegangsta/cli"
|
||
|
)
|
||
|
|
||
|
// NewBuildCommand returns the CLI command for "build".
|
||
|
func NewBuildCommand() cli.Command {
|
||
|
return cli.Command{
|
||
|
Name: "build",
|
||
|
Usage: "run a local build",
|
||
|
Flags: []cli.Flag{},
|
||
|
Action: func(c *cli.Context) {
|
||
|
buildCommandFunc(c)
|
||
|
},
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// buildCommandFunc executes the "build" command.
|
||
|
func buildCommandFunc(c *cli.Context) error {
|
||
|
|
||
|
return nil
|
||
|
}
|