burrow

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2019 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package burrow contains all actions that can be executed as subcommands.

Package burrow contains all actions that can be executed as subcommands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(context *cli.Context, useSecondLevelArgs bool) error

Build builds a burrow application to bin/.

func Check

func Check(context *cli.Context, useSecondLevelArgs bool) error

Check checks the code of a burrow project with go vet.

func Clean

func Clean(context *cli.Context) error

Clean cleans a burrow project from any build artifacts.

func Clone

func Clone(context *cli.Context) error

Clone clones a git repository

func Create

func Create(context *cli.Context) error

Create initializes a directory as a burrow project.

func Doc

func Doc(context *cli.Context, useSecondLevelArgs bool) error

Doc hosts the go documentation on the current machine.

func Fetch

func Fetch(context *cli.Context, useSecondLevelArgs bool) error

Fetch gets all dependencies from the glide lock file for reproducible builds.

func Format

func Format(context *cli.Context, useSecondLevelArgs bool) error

Format formats the code of the current burrow project with gofmt.

func Get

func Get(context *cli.Context, useSecondLevelArgs bool) error

Get installs a dependency in the vendor folder and adds it to the go.mod.

func Install

func Install(context *cli.Context) error

Install installs the application in the GOPATH.

func Major added in v0.2.0

func Major(context *cli.Context) error

Major increments the major part of the semantic version in the project configuration.

func Migrate added in v0.5.0

func Migrate(context *cli.Context) error

Migrate migrates an old style glide based burrow project to a 'go mod' based one. nolint: gocyclo

func Minor added in v0.2.0

func Minor(context *cli.Context) error

Minor increments the minor part of the semantic version in the project configuration.

func New added in v0.3.0

func New(context *cli.Context) error

New creates a new burrow project in the GOPATH.

func Package

func Package(context *cli.Context) error

Package creates a .tar.gz containing the binary.

func Patch added in v0.2.0

func Patch(context *cli.Context) error

Patch increments the patch part of the semantic version in the project configuration.

func Publish

func Publish(context *cli.Context, useSecondLevelArgs bool) error

Publish builds the application, packages the application and creates a new version tag in git.

func Run

func Run(context *cli.Context, useSecondLevelArgs bool) error

Run builds and runs the burrow application.

func Test

func Test(context *cli.Context, useSecondLevelArgs bool) error

Test runs all existing tests of the burrow project.

func Uninstall

func Uninstall(context *cli.Context) error

Uninstall uninstalls the burrow application from the GOPATH.

func Update

func Update(context *cli.Context, useSecondLevelArgs bool) error

Update gets all dependencies from the go.mod file and updates the go.sum file.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL