Skip to content

Commit

Permalink
Move internal/x/cmd to internal/cmd (uber#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
bufdev authored May 17, 2018
1 parent a3ca4ef commit 350f6d0
Show file tree
Hide file tree
Showing 53 changed files with 264 additions and 231 deletions.
2 changes: 1 addition & 1 deletion .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ ignore:
- /example/cmd/excited
- /example/gen/proto/go/foo
- /example/gen/proto/go/sub
- /internal/x/cmd/testdata/grpc/gen/grpcpb
- /internal/cmd/testdata/grpc/gen/grpcpb
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ license:

.PHONY: golden
golden: install
for file in $(shell find internal/x/cmd/testdata/format -name '*.proto.golden'); do \
for file in $(shell find internal/cmd/testdata/format -name '*.proto.golden'); do \
rm -f $${file}; \
done
for file in $(shell find internal/x/cmd/testdata/format -name '*.proto'); do \
for file in $(shell find internal/cmd/testdata/format -name '*.proto'); do \
prototool format $${file} > $${file}.golden || true; \
done

Expand All @@ -57,7 +57,7 @@ example: install

.PHONY: internalgen
internalgen: install
prototool gen internal/x/cmd/testdata/grpc
prototool gen internal/cmd/testdata/grpc
rm -f etc/config/example/prototool.yaml
prototool init etc/config/example --uncomment

Expand Down
2 changes: 1 addition & 1 deletion cmd/prototool/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ package main
import (
"os"

"github.com/uber/prototool/internal/x/cmd"
"github.com/uber/prototool/internal/cmd"
)

func main() {
Expand Down
Loading

0 comments on commit 350f6d0

Please sign in to comment.