Skip to content

Commit

Permalink
chore: module path and reorganize
Browse files Browse the repository at this point in the history
  • Loading branch information
johnletey committed Sep 24, 2024
1 parent 51f475f commit 8f8f9a8
Show file tree
Hide file tree
Showing 107 changed files with 2,035 additions and 1,558 deletions.
18 changes: 12 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: proto-format proto-lint proto-gen format lint test-unit build
.PHONY: proto-format proto-lint proto-breaking proto-gen format lint test-unit build
all: proto-all format lint test-unit build

###############################################################################
Expand All @@ -11,7 +11,7 @@ build:
@echo "✅ Completed build!"

###############################################################################
### Formatting & Linting ###
### Tooling ###
###############################################################################

gofumpt_cmd=mvdan.cc/gofumpt
Expand All @@ -31,10 +31,10 @@ lint:
### Protobuf ###
###############################################################################

BUF_VERSION=1.39
BUILDER_VERSION=0.15.0
BUF_VERSION=1.42
BUILDER_VERSION=0.15.1

proto-all: proto-format proto-lint proto-gen
proto-all: proto-format proto-lint proto-breaking proto-gen

proto-format:
@echo "🤖 Running protobuf formatter..."
Expand All @@ -54,11 +54,17 @@ proto-lint:
bufbuild/buf:$(BUF_VERSION) lint
@echo "✅ Completed protobuf linting!"

proto-breaking:
@echo "🤖 Running protobuf breaking checks..."
@docker run --rm --volume "$(PWD)":/workspace --workdir /workspace \
bufbuild/buf:$(BUF_VERSION) breaking --against "https://github.com/noble-assets/halo.git#branch=v1.0.1"
@echo "✅ Completed protobuf breaking checks!"

###############################################################################
### Testing ###
###############################################################################

test-unit:
@echo "🤖 Running unit tests..."
@go test -cover -coverprofile=coverage.out -race -v ./x/halo/keeper/...
@go test -cover -coverprofile=coverage.out -race -v ./keeper/...
@echo "✅ Completed unit tests!"
24 changes: 12 additions & 12 deletions api/aggregator/v1/aggregator.pulsar.go

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

25 changes: 13 additions & 12 deletions api/aggregator/v1/events.pulsar.go

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

24 changes: 12 additions & 12 deletions api/aggregator/v1/genesis.pulsar.go

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

24 changes: 12 additions & 12 deletions api/aggregator/v1/query.pulsar.go

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

24 changes: 12 additions & 12 deletions api/aggregator/v1/tx.pulsar.go

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

26 changes: 13 additions & 13 deletions api/entitlements/v1/entitlements.pulsar.go

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

Loading

0 comments on commit 8f8f9a8

Please sign in to comment.