Documentation ¶
Overview ¶
Package burrow contains all actions that can be executed as subcommands.
Index ¶
- func Build(context *cli.Context, useSecondLevelArgs bool) error
- func Check(context *cli.Context, useSecondLevelArgs bool) error
- func Clean(context *cli.Context) error
- func Clone(context *cli.Context) error
- func Create(context *cli.Context) error
- func Doc(context *cli.Context, useSecondLevelArgs bool) error
- func Fetch(context *cli.Context, useSecondLevelArgs bool) error
- func Format(context *cli.Context, useSecondLevelArgs bool) error
- func Get(context *cli.Context, useSecondLevelArgs bool) error
- func Install(context *cli.Context) error
- func Major(context *cli.Context) error
- func Minor(context *cli.Context) error
- func New(context *cli.Context) error
- func Package(context *cli.Context) error
- func Patch(context *cli.Context) error
- func Publish(context *cli.Context, useSecondLevelArgs bool) error
- func Run(context *cli.Context, useSecondLevelArgs bool) error
- func Test(context *cli.Context, useSecondLevelArgs bool) error
- func Uninstall(context *cli.Context) error
- func Update(context *cli.Context, useSecondLevelArgs bool) error
- type Project
- type ProjectType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Clone ¶
Clone clones a git repository into the GOPATH and creates a symlink in the cwd when cwd is not in GOPATH.
func Major ¶ added in v0.2.0
Major increments the major part of the semantic version in the project configuration.
func Minor ¶ added in v0.2.0
Minor increments the minor part of the semantic version in the project configuration.
func Patch ¶ added in v0.2.0
Patch increments the patch part of the semantic version in the project configuration.
func Publish ¶
Publish builds the application, packages the application and creates a new version tag in git.
Types ¶
type Project ¶ added in v0.3.0
type Project struct { Location string Type ProjectType Name string License string Description string Authors []string }
Project describes all inputs that are needed to create a new project.
func NewProject ¶ added in v0.3.0
func NewProject() *Project
NewProject creates a new project from user input from stdin.
type ProjectType ¶
type ProjectType uint8
The ProjectType describes whether this is a binary or a library project.
const ( TYPE_BIN ProjectType = iota TYPE_LIB )
The TYPE_... constants describe the type of a project.