Skip to content

Commit

Permalink
Add unused package warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisPenner committed Aug 29, 2024
1 parent 2fa330b commit 1eaa4c5
Show file tree
Hide file tree
Showing 37 changed files with 93 additions and 857 deletions.
6 changes: 0 additions & 6 deletions codebase2/codebase-sqlite-hashing-v2/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ ghc-options: -Wall

dependencies:
- base
- bytes
- bytestring
- containers
- generic-lens
- lens
- text
- unison-codebase
Expand All @@ -19,11 +16,8 @@ dependencies:
- unison-hash
- unison-hashing-v2
- unison-prelude
- unison-sqlite
- unison-syntax
- unison-util-base32hex
- unison-util-term
- vector

library:
source-dirs: src
Expand Down
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 @@ -56,10 +56,7 @@ library
ghc-options: -Wall
build-depends:
base
, bytes
, bytestring
, containers
, generic-lens
, lens
, text
, unison-codebase
Expand All @@ -69,9 +66,6 @@ library
, unison-hash
, unison-hashing-v2
, unison-prelude
, unison-sqlite
, unison-syntax
, unison-util-base32hex
, unison-util-term
, vector
default-language: Haskell2010
3 changes: 0 additions & 3 deletions codebase2/codebase-sqlite/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ extra-source-files:
- sql/*

dependencies:
- Only
- aeson
- base
- bytes
Expand All @@ -25,7 +24,6 @@ dependencies:
- network-uri
- network-uri-orphans-sqlite
- nonempty-containers
- safe
- text
- time
- transformers
Expand All @@ -47,7 +45,6 @@ dependencies:
- uuid
- uuid-orphans-sqlite
- vector
- witch

default-extensions:
- ApplicativeDo
Expand Down
7 changes: 2 additions & 5 deletions codebase2/codebase-sqlite/unison-codebase-sqlite.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 @@ -109,8 +109,7 @@ library
TypeOperators
ViewPatterns
build-depends:
Only
, aeson
aeson
, base
, bytes
, bytestring
Expand All @@ -123,7 +122,6 @@ library
, network-uri
, network-uri-orphans-sqlite
, nonempty-containers
, safe
, text
, time
, transformers
Expand All @@ -145,5 +143,4 @@ library
, uuid
, uuid-orphans-sqlite
, vector
, witch
default-language: Haskell2010
2 changes: 0 additions & 2 deletions codebase2/codebase/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,10 @@ dependencies:
- generic-lens
- lens
- mtl
- text
- time
- unison-core
- unison-hash
- unison-prelude
- unison-util-base32hex

library:
source-dirs: .
Expand Down
2 changes: 0 additions & 2 deletions codebase2/codebase/unison-codebase.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,8 @@ library
, generic-lens
, lens
, mtl
, text
, time
, unison-core
, unison-hash
, unison-prelude
, unison-util-base32hex
default-language: GHC2021
2 changes: 0 additions & 2 deletions codebase2/core/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ dependencies:
- text
- unison-hash
- unison-prelude
- unison-util-base32hex
- vector

default-extensions:
- ApplicativeDo
Expand Down
2 changes: 0 additions & 2 deletions codebase2/core/unison-core.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,4 @@ library
, text
, unison-hash
, unison-prelude
, unison-util-base32hex
, vector
default-language: Haskell2010
2 changes: 0 additions & 2 deletions lib/unison-hash/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ ghc-options: -Wall -O0 -fno-warn-name-shadowing -fno-warn-missing-pattern-synony
dependencies:
- base
- bytestring
- text
- unison-prelude
- unison-util-base32hex
- witch

library:
source-dirs: src
Expand Down
4 changes: 1 addition & 3 deletions lib/unison-hash/unison-hash.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 @@ -53,8 +53,6 @@ library
build-depends:
base
, bytestring
, text
, unison-prelude
, unison-util-base32hex
, witch
default-language: Haskell2010
2 changes: 0 additions & 2 deletions lib/unison-pretty-printer/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ library:
- ListLike
- ansi-terminal
- text
- mtl
- unliftio
- pretty-simple
- process
Expand All @@ -67,7 +66,6 @@ executables:
main: Main.hs
dependencies:
- base
- safe
- text
- unison-pretty-printer

Expand Down
4 changes: 1 addition & 3 deletions lib/unison-pretty-printer/unison-pretty-printer.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 @@ -61,7 +61,6 @@ library
, base
, containers
, extra
, mtl
, pretty-simple
, process
, terminal-size
Expand Down Expand Up @@ -103,7 +102,6 @@ executable prettyprintdemo
ghc-options: -Wall -O0 -fno-warn-name-shadowing -fno-warn-missing-pattern-synonym-signatures
build-depends:
base
, safe
, text
, unison-pretty-printer
default-language: Haskell2010
Expand Down
6 changes: 0 additions & 6 deletions lib/unison-sqlite/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,7 @@ tests:
dependencies:
- base
- direct-sqlite
- exceptions
- generic-lens
- lens
- megaparsec
- mtl
- neat-interpolation
- pretty-simple
- random
- recover-rtti
Expand All @@ -46,7 +41,6 @@ dependencies:
- unison-prelude
- unison-util-cache
- unliftio
- unliftio-core

ghc-options:
-Wall
Expand Down
25 changes: 0 additions & 25 deletions lib/unison-sqlite/unison-sqlite.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,7 @@ library
build-depends:
base
, direct-sqlite
, exceptions
, generic-lens
, lens
, megaparsec
, mtl
, neat-interpolation
, pretty-simple
, random
, recover-rtti
Expand All @@ -82,7 +77,6 @@ library
, unison-prelude
, unison-util-cache
, unliftio
, unliftio-core
default-language: Haskell2010

test-suite tests
Expand Down Expand Up @@ -126,25 +120,6 @@ test-suite tests
build-depends:
base
, code-page
, direct-sqlite
, easytest
, exceptions
, generic-lens
, lens
, megaparsec
, mtl
, neat-interpolation
, pretty-simple
, random
, recover-rtti
, sqlite-simple
, template-haskell
, text
, text-builder
, transformers
, unison-prelude
, unison-sqlite
, unison-util-cache
, unliftio
, unliftio-core
default-language: Haskell2010
1 change: 0 additions & 1 deletion lib/unison-util-base32hex/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ library:
dependencies:
- base
- base32
- bytestring
- containers
- unison-prelude
- text
Expand Down
3 changes: 1 addition & 2 deletions lib/unison-util-base32hex/unison-util-base32hex.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 @@ -48,7 +48,6 @@ library
build-depends:
base
, base32
, bytestring
, containers
, text
, unison-prelude
Expand Down
Loading

0 comments on commit 1eaa4c5

Please sign in to comment.