Skip to content

Commit

Permalink
changes in goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
rmedvedev committed Jan 20, 2020
1 parent 15fc29f commit 0ab0689
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 12 deletions.
11 changes: 4 additions & 7 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
# you may remove this if you don't use vgo
- go mod tidy
# you may remove this if you don't need go generate
- go generate ./...
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
main: ./cmd/grpcdump/main.go

archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ test:

.PHONY: build
build:
CGO_ENABLED=0 go build .
CGO_ENABLED=0 go build cmd/grpcdump/main.go

.PHONY: release
release:
Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ Tool for capture and parse GRPC messages from ethernet traffic
## Installation / Getting started

```bash
go run cmd/grpcdump.go
go run cmd/grpcdump/main.go
```
### From Source

```bash
go get github.com/rmedvedev/grpcdump
go install github.com/rmedvedev/grpcdump
go get -u github.com/rmedvedev/grpcdump/...
```

## Usage
Expand All @@ -19,7 +18,7 @@ The next option explains usage doc
```bash
grpcdump -help
```
For example, to capture grpc traffic and parse grpc request and response you need to use this command:
For example, to capture grpc traffic, parse grpc request and response you need to use this command:
```bash
grpcdump -i lo -p 50051 -proto-path ./grpc/protofiles -proto-files helloworld.proto
```
File renamed without changes.

0 comments on commit 0ab0689

Please sign in to comment.