Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ genbin:
mkdir -p devbin

build: genproto genbin
go build -pgo=auto -o devbin/yagpcc $(LDFLAGS) ./cmd/server
go build -pgo=auto -o devbin/yagpcc $(GOFLAGS) ./cmd/server

####################### TESTS #######################

Expand All @@ -32,3 +32,8 @@ fmt:

lint:
golangci-lint run --timeout=10m

version = $(shell git describe --tags --abbrev=0)
package:
sed -i 's/YAGPCC_VERSION/${version}/g' debian/changelog
dpkg-buildpackage -us -uc
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@

## Building

**Prerequisites:** Go 1.25+ (see `go.mod`).
**Prerequisites:**
- Go 1.25+ (see `go.mod`).
- protoc compiler (see https://protobuf.dev/installation/ `apt install -y protobuf-compiler`)
- protoc-gen-go, use https://protobuf.dev/reference/go/go-generated/ `go install google.golang.org/protobuf/cmd/protoc-gen-go@latest`
- protoc-gen-go-grpc, use `go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest`

Build the binary (generates protos and outputs to `devbin/yagpcc`):

Expand Down
6 changes: 3 additions & 3 deletions api/proto/agent_master/yagpcc_action_service.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions api/proto/agent_master/yagpcc_action_service_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 15 additions & 15 deletions api/proto/agent_master/yagpcc_get_service.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/proto/agent_master/yagpcc_get_service_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions api/proto/agent_segment/yagpcc_control_service.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/proto/agent_segment/yagpcc_control_service_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 11 additions & 11 deletions api/proto/agent_segment/yagpcc_get_service.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading