Skip to content

Commit

Permalink
Merge pull request #12 from omnipeak/bug/omv-481/dry-and-match-mdform…
Browse files Browse the repository at this point in the history
…at-output

fix: [OMV-481] DRYs up code and matches mdformat output
  • Loading branch information
BenjaminNolan committed Feb 22, 2024
2 parents 3e5070f + c9e5b81 commit bec5501
Show file tree
Hide file tree
Showing 24 changed files with 484 additions and 4,463 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ push-buf-image:
# Runs buf generate
.PHONY: generate
generate:
buf generate ./example/protos
@buf generate \
--path ./example/protos/models.proto \
--path ./example/protos/service.proto \
./example/protos

# Runs the unit tests
.PHONY: coverage
Expand Down
5 changes: 5 additions & 0 deletions buf.gen.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
version: v1
managed:
enabled: true
go_package_prefix:
default: github.com/omnipeak/protoc-gen-markdown/internal
except:
- buf.build/googleapis/googleapis
- buf.build/bufbuild/protovalidate

plugins:
- plugin: buf.build/omnipeak/markdown
Expand Down
3 changes: 0 additions & 3 deletions example/output/index.md

This file was deleted.

201 changes: 0 additions & 201 deletions example/protos/vendor/buf/LICENSE

This file was deleted.

92 changes: 0 additions & 92 deletions example/protos/vendor/buf/validate/expression.proto

This file was deleted.

41 changes: 0 additions & 41 deletions example/protos/vendor/buf/validate/priv/private.proto

This file was deleted.

Loading

0 comments on commit bec5501

Please sign in to comment.