Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for additional well known types #460

Merged
merged 1 commit into from
Jan 13, 2024
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
19 changes: 16 additions & 3 deletions proto-lens-protobuf-types/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,17 @@ github: google/proto-lens/proto-lens-protobuf-types
extra-source-files:
- Changelog.md
- proto-src/google/protobuf/any.proto
- proto-src/google/protobuf/api.proto
- proto-src/google/protobuf/compiler/plugin.proto
- proto-src/google/protobuf/descriptor.proto
- proto-src/google/protobuf/duration.proto
- proto-src/google/protobuf/empty.proto
- proto-src/google/protobuf/wrappers.proto
- proto-src/google/protobuf/field_mask.proto
- proto-src/google/protobuf/source_context.proto
- proto-src/google/protobuf/struct.proto
- proto-src/google/protobuf/timestamp.proto
- proto-src/google/protobuf/type.proto
- proto-src/google/protobuf/wrappers.proto

custom-setup:
dependencies:
Expand All @@ -44,6 +48,8 @@ library:
generated-exposed-modules:
- Proto.Google.Protobuf.Any
- Proto.Google.Protobuf.Any_Fields
- Proto.Google.Protobuf.Api
- Proto.Google.Protobuf.Api_Fields
- Proto.Google.Protobuf.Compiler.Plugin
- Proto.Google.Protobuf.Compiler.Plugin_Fields
- Proto.Google.Protobuf.Descriptor
Expand All @@ -52,12 +58,19 @@ library:
- Proto.Google.Protobuf.Duration_Fields
- Proto.Google.Protobuf.Empty
- Proto.Google.Protobuf.Empty_Fields
- Proto.Google.Protobuf.Wrappers
- Proto.Google.Protobuf.Wrappers_Fields
- Proto.Google.Protobuf.FieldMask
- Proto.Google.Protobuf.FieldMask_Fields
- Proto.Google.Protobuf.SourceContext
- Proto.Google.Protobuf.SourceContext_Fields
- Proto.Google.Protobuf.Struct
- Proto.Google.Protobuf.Struct_Fields
- Proto.Google.Protobuf.Timestamp
- Proto.Google.Protobuf.Timestamp_Fields
- Proto.Google.Protobuf.Type
- Proto.Google.Protobuf.Type_Fields
- Proto.Google.Protobuf.Wrappers
- Proto.Google.Protobuf.Wrappers_Fields

# Prevent hpack from putting Paths_* in the other-modules.
# Otherwise, "cabal check" complains (preventing upload to Hackage)
# because it expects it to be listed in autogen-modules.
Expand Down
30 changes: 25 additions & 5 deletions proto-lens-protobuf-types/proto-lens-protobuf-types.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,17 @@ build-type: Custom
extra-source-files:
Changelog.md
proto-src/google/protobuf/any.proto
proto-src/google/protobuf/api.proto
proto-src/google/protobuf/compiler/plugin.proto
proto-src/google/protobuf/descriptor.proto
proto-src/google/protobuf/duration.proto
proto-src/google/protobuf/empty.proto
proto-src/google/protobuf/wrappers.proto
proto-src/google/protobuf/field_mask.proto
proto-src/google/protobuf/source_context.proto
proto-src/google/protobuf/struct.proto
proto-src/google/protobuf/timestamp.proto
proto-src/google/protobuf/type.proto
proto-src/google/protobuf/wrappers.proto

source-repository head
type: git
Expand All @@ -45,6 +49,8 @@ library
Data.ProtoLens.Descriptor
Proto.Google.Protobuf.Any
Proto.Google.Protobuf.Any_Fields
Proto.Google.Protobuf.Api
Proto.Google.Protobuf.Api_Fields
Proto.Google.Protobuf.Compiler.Plugin
Proto.Google.Protobuf.Compiler.Plugin_Fields
Proto.Google.Protobuf.Descriptor
Expand All @@ -53,15 +59,23 @@ library
Proto.Google.Protobuf.Duration_Fields
Proto.Google.Protobuf.Empty
Proto.Google.Protobuf.Empty_Fields
Proto.Google.Protobuf.Wrappers
Proto.Google.Protobuf.Wrappers_Fields
Proto.Google.Protobuf.FieldMask
Proto.Google.Protobuf.FieldMask_Fields
Proto.Google.Protobuf.SourceContext
Proto.Google.Protobuf.SourceContext_Fields
Proto.Google.Protobuf.Struct
Proto.Google.Protobuf.Struct_Fields
Proto.Google.Protobuf.Timestamp
Proto.Google.Protobuf.Timestamp_Fields
Proto.Google.Protobuf.Type
Proto.Google.Protobuf.Type_Fields
Proto.Google.Protobuf.Wrappers
Proto.Google.Protobuf.Wrappers_Fields
autogen-modules:
Proto.Google.Protobuf.Any
Proto.Google.Protobuf.Any_Fields
Proto.Google.Protobuf.Api
Proto.Google.Protobuf.Api_Fields
Proto.Google.Protobuf.Compiler.Plugin
Proto.Google.Protobuf.Compiler.Plugin_Fields
Proto.Google.Protobuf.Descriptor
Expand All @@ -70,12 +84,18 @@ library
Proto.Google.Protobuf.Duration_Fields
Proto.Google.Protobuf.Empty
Proto.Google.Protobuf.Empty_Fields
Proto.Google.Protobuf.Wrappers
Proto.Google.Protobuf.Wrappers_Fields
Proto.Google.Protobuf.FieldMask
Proto.Google.Protobuf.FieldMask_Fields
Proto.Google.Protobuf.SourceContext
Proto.Google.Protobuf.SourceContext_Fields
Proto.Google.Protobuf.Struct
Proto.Google.Protobuf.Struct_Fields
Proto.Google.Protobuf.Timestamp
Proto.Google.Protobuf.Timestamp_Fields
Proto.Google.Protobuf.Type
Proto.Google.Protobuf.Type_Fields
Proto.Google.Protobuf.Wrappers
Proto.Google.Protobuf.Wrappers_Fields
hs-source-dirs:
src
build-tool-depends:
Expand Down
Loading