Skip to content

Commit

Permalink
Clean up packages from test components
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisPenner committed Aug 29, 2024
1 parent 1eaa4c5 commit c5c0d89
Show file tree
Hide file tree
Showing 16 changed files with 334 additions and 299 deletions.
33 changes: 17 additions & 16 deletions lib/unison-sqlite/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,22 @@ library:
- condition: false
other-modules: Paths_unison_sqlite

dependencies:
- base
- direct-sqlite
- megaparsec
- pretty-simple
- random
- recover-rtti
- sqlite-simple
- template-haskell
- text
- text-builder
- transformers
- unison-prelude
- unison-util-cache
- unliftio

source-dirs: src
exposed-modules:
- Unison.Sqlite
Expand All @@ -20,28 +36,13 @@ tests:
- condition: false
other-modules: Paths_unison_sqlite
dependencies:
- base
- code-page
- easytest
- unison-sqlite
main: Main.hs
source-dirs: test

dependencies:
- base
- direct-sqlite
- megaparsec
- pretty-simple
- random
- recover-rtti
- sqlite-simple
- template-haskell
- text
- text-builder
- transformers
- unison-prelude
- unison-util-cache
- unliftio

ghc-options:
-Wall

Expand Down
33 changes: 18 additions & 15 deletions lib/unison-util-bytes/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,35 +4,38 @@ copyright: Copyright (C) 2013-2022 Unison Computing, PBC and contributors

ghc-options: -Wall

dependencies:
- base
- basement
- bytestring
- bytestring-to-vector
- deepseq
- memory
- primitive
- stringsearch
- text
- vector
- unison-prelude
- unison-util-rope
- zlib

library:
source-dirs: src
when:
- condition: false
other-modules: Paths_unison_util_bytes

dependencies:
- base
- basement
- bytestring
- bytestring-to-vector
- deepseq
- memory
- primitive
- stringsearch
- text
- vector
- unison-prelude
- unison-util-rope
- zlib

tests:
util-bytes-tests:
when:
- condition: false
other-modules: Paths_unison_util_bytes
dependencies:
- base
- bytestring
- code-page
- easytest
- unison-prelude
- unison-util-bytes
main: Main.hs
source-dirs: test
Expand Down
12 changes: 1 addition & 11 deletions lib/unison-util-bytes/unison-util-bytes.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.35.2.
-- This file has been generated from package.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack

Expand Down Expand Up @@ -105,19 +105,9 @@ test-suite util-bytes-tests
ghc-options: -Wall
build-depends:
base
, basement
, bytestring
, bytestring-to-vector
, code-page
, deepseq
, easytest
, memory
, primitive
, stringsearch
, text
, unison-prelude
, unison-util-bytes
, unison-util-rope
, vector
, zlib
default-language: Haskell2010
6 changes: 4 additions & 2 deletions lib/unison-util-cache/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@ ghc-options: -Wall

dependencies:
- base
- containers
- unliftio

library:
source-dirs: src
when:
- condition: false
other-modules: Paths_unison_util_cache

dependencies:
- containers
- unliftio

tests:
util-cache-tests:
when:
Expand Down
4 changes: 1 addition & 3 deletions lib/unison-util-cache/unison-util-cache.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.35.2.
-- This file has been generated from package.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack

Expand Down Expand Up @@ -97,9 +97,7 @@ test-suite util-cache-tests
async
, base
, code-page
, containers
, easytest
, stm
, unison-util-cache
, unliftio
default-language: Haskell2010
17 changes: 9 additions & 8 deletions lib/unison-util-relation/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,21 @@ library:
- condition: false
other-modules: Paths_unison_util_relation

dependencies:
- base
- containers
- deepseq
- extra
- nonempty-containers
- unison-prelude

tests:
util-relation-tests:
when:
- condition: false
other-modules: Paths_unison_util_relation
dependencies:
- base
- code-page
- easytest
- random
Expand All @@ -36,14 +45,6 @@ benchmarks:
- tasty-bench
- unison-util-relation

dependencies:
- base
- containers
- deepseq
- extra
- nonempty-containers
- unison-prelude

ghc-options:
-Wall

Expand Down
11 changes: 1 addition & 10 deletions lib/unison-util-relation/unison-util-relation.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.35.2.
-- This file has been generated from package.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack

Expand Down Expand Up @@ -74,13 +74,8 @@ test-suite util-relation-tests
build-depends:
base
, code-page
, containers
, deepseq
, easytest
, extra
, nonempty-containers
, random
, unison-prelude
, unison-util-relation
default-language: Haskell2010

Expand Down Expand Up @@ -110,11 +105,7 @@ benchmark relation
base
, code-page
, containers
, deepseq
, extra
, nonempty-containers
, random
, tasty-bench
, unison-prelude
, unison-util-relation
default-language: Haskell2010
77 changes: 77 additions & 0 deletions package.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
name: unison-syntax
github: unisonweb/unison
copyright: Copyright (C) 2013-2022 Unison Computing, PBC and contributors

ghc-options: -Wall

library:
source-dirs: src
when:
- condition: false
other-modules: Paths_unison_syntax

dependencies:
- base
- bytes
- containers
- cryptonite
- deriving-compat
- extra
- free
- lens
- megaparsec
- mtl
- parser-combinators
- text
- unison-core
- unison-core1
- unison-hash
- unison-prelude
- unison-util-base32hex
- unison-util-bytes

tests:
syntax-tests:
when:
- condition: false
other-modules: Paths_unison_syntax
dependencies:
- base
- code-page
- easytest
- unison-syntax
- unison-core
- unison-prelude
main: Main.hs
source-dirs: test

default-extensions:
- ApplicativeDo
- BangPatterns
- BlockArguments
- DeriveAnyClass
- DeriveFoldable
- DeriveFunctor
- DeriveGeneric
- DeriveTraversable
- DerivingStrategies
- DerivingVia
- DoAndIfThenElse
- DuplicateRecordFields
- FlexibleContexts
- FlexibleInstances
- FunctionalDependencies
- GeneralizedNewtypeDeriving
- ImportQualifiedPost
- LambdaCase
- MultiParamTypeClasses
- NamedFieldPuns
- OverloadedStrings
- PatternSynonyms
- RankNTypes
- ScopedTypeVariables
- StandaloneDeriving
- TupleSections
- TypeApplications
- TypeFamilies
- ViewPatterns
Loading

0 comments on commit c5c0d89

Please sign in to comment.