Skip to content

Commit 0ab0689

Browse files
committed
changes in goreleaser
1 parent 15fc29f commit 0ab0689

File tree

4 files changed

+8
-12
lines changed

4 files changed

+8
-12
lines changed

.goreleaser.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
1-
# This is an example goreleaser.yaml file with some sane defaults.
2-
# Make sure to check the documentation at http://goreleaser.com
31
before:
42
hooks:
5-
# you may remove this if you don't use vgo
63
- go mod tidy
7-
# you may remove this if you don't need go generate
8-
- go generate ./...
94
builds:
105
- env:
116
- CGO_ENABLED=0
7+
goos:
8+
- linux
9+
main: ./cmd/grpcdump/main.go
10+
1211
archives:
1312
- replacements:
14-
darwin: Darwin
1513
linux: Linux
16-
windows: Windows
1714
386: i386
1815
amd64: x86_64
1916
checksum:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ test:
1212

1313
.PHONY: build
1414
build:
15-
CGO_ENABLED=0 go build .
15+
CGO_ENABLED=0 go build cmd/grpcdump/main.go
1616

1717
.PHONY: release
1818
release:

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@ Tool for capture and parse GRPC messages from ethernet traffic
44
## Installation / Getting started
55

66
```bash
7-
go run cmd/grpcdump.go
7+
go run cmd/grpcdump/main.go
88
```
99
### From Source
1010

1111
```bash
12-
go get github.com/rmedvedev/grpcdump
13-
go install github.com/rmedvedev/grpcdump
12+
go get -u github.com/rmedvedev/grpcdump/...
1413
```
1514

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

0 commit comments

Comments
 (0)