fix: appease formatter, ignore vendor
This commit is contained in:
parent
3b3ce85ef9
commit
1f9b863be0
4
Makefile
4
Makefile
@ -45,10 +45,10 @@ clean:
|
|||||||
@rm '$(GOPATH)/bin/kadabra'
|
@rm '$(GOPATH)/bin/kadabra'
|
||||||
|
|
||||||
format:
|
format:
|
||||||
@gofmt -s -w .
|
@gofmt -s -w $$(find . -type f -name '*.go' | grep -v "/vendor/")
|
||||||
|
|
||||||
check:
|
check:
|
||||||
@test -z $$(gofmt -l .) || \
|
@test -z $$(gofmt -l $$(find . -type f -name '*.go' | grep -v "/vendor/")) || \
|
||||||
(echo "gofmt: formatting issue - run 'make format' to resolve" && exit 1)
|
(echo "gofmt: formatting issue - run 'make format' to resolve" && exit 1)
|
||||||
|
|
||||||
test:
|
test:
|
||||||
|
@ -5,10 +5,10 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
var AppCommand = cli.Command{
|
var AppCommand = cli.Command{
|
||||||
Name: "app",
|
Name: "app",
|
||||||
Aliases: []string{"a"},
|
Aliases: []string{"a"},
|
||||||
Usage: "Manage apps",
|
Usage: "Manage apps",
|
||||||
UsageText: "abra app [command] [options] [arguments]",
|
UsageText: "abra app [command] [arguments] [options]",
|
||||||
Commands: []*cli.Command{
|
Commands: []*cli.Command{
|
||||||
&appBackupCommand,
|
&appBackupCommand,
|
||||||
&appCheckCommand,
|
&appCheckCommand,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user