Skip to content

Commit

Permalink
Merge pull request #5308 from unisonweb/cp/split-off-runtime
Browse files Browse the repository at this point in the history
Split off `unison-runtime` package
  • Loading branch information
aryairani authored Aug 30, 2024
2 parents 1f48916 + 9cdff27 commit b17640a
Show file tree
Hide file tree
Showing 82 changed files with 869 additions and 900 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 @@ -108,8 +108,7 @@ library
TypeOperators
ViewPatterns
build-depends:
Only
, aeson
aeson
, base
, bytes
, bytestring
Expand All @@ -122,7 +121,6 @@ library
, network-uri
, network-uri-orphans-sqlite
, nonempty-containers
, safe
, text
, time
, transformers
Expand All @@ -144,5 +142,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
5 changes: 5 additions & 0 deletions hie.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@ cradle:

- path: "parser-typechecker/tests"
component: "unison-parser-typechecker:test:parser-typechecker-tests"
- path: "unison-runtime/src"
component: "unison-runtime:lib"

- path: "unison-runtime/tests"
component: "unison-runtime:test:runtime-tests"

- path: "unison-cli/src"
component: "unison-cli:lib"
Expand Down
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
39 changes: 17 additions & 22 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,34 +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
- exceptions
- generic-lens
- lens
- megaparsec
- mtl
- neat-interpolation
- pretty-simple
- random
- recover-rtti
- sqlite-simple
- template-haskell
- text
- text-builder
- transformers
- 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 b17640a

Please sign in to comment.