mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 17:31:56 +03:00
07328fd9fc
We currently use `hpack` to generate the Cabal files from _package.yaml_ files for the two small libraries in _server/lib_. While this is more convenient, we also check the Cabal files into the repository to avoid needing an extra step upon pulling changes. In order to ensure that the Cabal files do not get out of sync with the hpack files, this introduces a few improvements: 1. Makefile targets to automatically generate the Cabal files without needing to know the correct incantation. These targets are a dependency of all build targets, so you can simply run `make build-all` and it will work. 2. An extra comment at the top of all generated Cabal files that explains how to regenerate it. 3. A `lint-hpack` Makefile target that verifies that the Cabal files are up-to-date. 4. A CI job that runs `make lint-hpack`, to stop inconsistencies getting merged into trunk. Most of these changes are ported from #4794. PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5217 GitOrigin-RevId: d3dfbe19ec00528368d357b6d0215a7ba4062f68
64 lines
1.8 KiB
Plaintext
64 lines
1.8 KiB
Plaintext
cabal-version: 1.12
|
|
|
|
-- This file is generated using hpack.
|
|
-- Do not modify it directly. Instead, edit package.yaml and then run:
|
|
-- make server/lib/aeson-ordered/aeson-ordered.cabal
|
|
|
|
-- This file has been generated from package.yaml by hpack version 0.34.7.
|
|
--
|
|
-- see: https://github.com/sol/hpack
|
|
|
|
name: aeson-ordered
|
|
version: 0.1.0.0
|
|
description: Provides a data type that mirrors Aeson's 'Value', but that preserves order of object properties using an insertion-ordered map.
|
|
homepage: https://github.com/hasura/github-engine-mono#readme
|
|
bug-reports: https://github.com/hasura/github-engine-mono/issues
|
|
author: Anon Ray <anon@hasura.io>,
|
|
Bryan O'Sullivan <bos@serpentine.com>,
|
|
MailRank, Inc.
|
|
maintainer: Anon Ray <anon@hasura.io>,
|
|
Bryan O'Sullivan <bos@serpentine.com>,
|
|
MailRank, Inc.
|
|
license: BSD3
|
|
license-file: LICENSE
|
|
build-type: Simple
|
|
extra-source-files:
|
|
CHANGELOG.md
|
|
LICENSE
|
|
|
|
source-repository head
|
|
type: git
|
|
location: https://github.com/hasura/github-engine-mono
|
|
|
|
library
|
|
exposed-modules:
|
|
Data.Aeson.Ordered
|
|
other-modules:
|
|
Paths_aeson_ordered
|
|
hs-source-dirs:
|
|
src
|
|
default-extensions:
|
|
BangPatterns
|
|
DeriveDataTypeable
|
|
DeriveGeneric
|
|
DerivingStrategies
|
|
GeneralizedNewtypeDeriving
|
|
ImportQualifiedPost
|
|
LambdaCase
|
|
OverloadedStrings
|
|
StrictData
|
|
ghc-options: -foptimal-applicative-do -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints
|
|
build-depends:
|
|
aeson
|
|
, attoparsec
|
|
, base
|
|
, bytestring
|
|
, hashable
|
|
, insert-ordered-containers
|
|
, lens
|
|
, lens-aeson
|
|
, scientific
|
|
, text
|
|
, vector
|
|
default-language: Haskell2010
|