1
1
mirror of https://github.com/github/semantic.git synced 2024-11-23 08:27:56 +03:00

Bump protobuf definitions.

There is a new proto-lens with some new methods on its typeclasses.
This is what results from running `script/protoc`.
This commit is contained in:
Patrick Thomson 2020-09-10 18:55:41 -04:00
parent a7001c1828
commit 3128f16e2d
5 changed files with 1002 additions and 27 deletions

View File

@ -14,12 +14,13 @@ load(
haskell_library( haskell_library(
name = "semantic-proto", name = "semantic-proto",
srcs = glob(["src/**/*.hs"]), srcs = glob(["src/**/*.hs"]),
compiler_flags = ["-XOverloadedStrings"],
deps = [ deps = [
"//:base", "//:base",
"//:text", "//:text",
"@stackage//:proto-lens-jsonpb",
"@stackage//:aeson", "@stackage//:aeson",
"@stackage//:proto-lens", "@stackage//:proto-lens",
"@stackage//:proto-lens-jsonpb",
"@stackage//:proto-lens-runtime", "@stackage//:proto-lens-runtime",
], ],
) )

View File

@ -32,6 +32,7 @@ library
, proto-lens-runtime >= 0.5 && <0.8 , proto-lens-runtime >= 0.5 && <0.8
hs-source-dirs: src hs-source-dirs: src
default-language: Haskell2010 default-language: Haskell2010
default-extensions: OverloadedStrings
ghc-options: ghc-options:
-Weverything -Weverything
-Wno-missing-local-signatures -Wno-missing-local-signatures
@ -41,6 +42,7 @@ library
-Wno-unsafe -Wno-unsafe
-Wno-name-shadowing -Wno-name-shadowing
-Wno-monomorphism-restriction -Wno-monomorphism-restriction
-Wno-missing-export-lists
-Wno-missed-specialisations -Wno-missed-specialisations
-Wno-all-missed-specialisations -Wno-all-missed-specialisations
-Wno-star-is-type -Wno-star-is-type

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,6 @@
{- This file was auto-generated from semantic.proto by the proto-lens-protoc program. -} {- This file was auto-generated from semantic.proto by the proto-lens-protoc program. -}
{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications#-} {-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
{-# OPTIONS_GHC -Wno-unused-imports#-} {-# OPTIONS_GHC -Wno-unused-imports#-}
{-# OPTIONS_GHC -Wno-missing-export-lists #-} -- Manually added for semantic's project settings
{-# OPTIONS_GHC -Wno-duplicate-exports#-} {-# OPTIONS_GHC -Wno-duplicate-exports#-}
{-# OPTIONS_GHC -Wno-dodgy-exports#-} {-# OPTIONS_GHC -Wno-dodgy-exports#-}
module Proto.Semantic_Fields where module Proto.Semantic_Fields where

View File

@ -1,5 +1,4 @@
-- Code generated by protoc-gen-jsonpb_haskell 0.1.0, DO NOT EDIT. -- Code generated by protoc-gen-jsonpb_haskell 0.1.0, DO NOT EDIT.
{-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -Wno-orphans -Wno-unused-imports -Wno-missing-export-lists #-} {-# OPTIONS_GHC -Wno-orphans -Wno-unused-imports -Wno-missing-export-lists #-}
module Proto.Semantic_JSON where module Proto.Semantic_JSON where