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

Bump GHC from 9.6 to 9.10 #1142

Merged
merged 6 commits into from
Jan 8, 2025
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
1 change: 1 addition & 0 deletions .hlint.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
- arguments: [-XQuasiQuotes, -XOverloadedRecordDot]
- ignore: {name: "Use if"}
- ignore: {name: "Functor law"}
- ignore: {name: "Use tuple-section"}
- ignore: {name: "Avoid lambda using `infix`"}
2 changes: 2 additions & 0 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ codegen-haskell:
compile-proto-file --includeDir /usr/include --includeDir schemas/ --includeDir ${PROTOBUF_SRC} --proto ${pb} --out codegen/; \
done
find codegen/Monocle -type f -name "*.hs" -exec sed -i {} -e '1i{-# LANGUAGE NoGeneralisedNewtypeDeriving #-}' \;
# Fix for: https://github.com/awakesecurity/proto3-suite/pull/262#issuecomment-2576179003
find codegen/Monocle -type f -name "*.hs" -exec sed -i {} -e 's/HsProtobuf.String Hs.Text/(HsProtobuf.String Hs.Text)/' \;
fourmolu -i codegen/Monocle

# Generate javascript data type from protobuf
Expand Down
Loading
Loading