Skip to content

A peer-to-peer stack for code collaboration

Add cabal files. Mention them in cabal.project.

Fintan Halpennyd82e500ef379
diff --git a/cabal.project b/cabal.project
index 4bfa693..31a89f5 100644
--- a/cabal.project
+++ b/cabal.project
@@ -1,4 +1,7 @@
-packages: ./radicle.cabal
+packages:
+ ./radicle.cabal
+ ./radicle-lang/radicle-lang.cabal
+ ./radicle-repl/radicle-repl.cabal
package sandi
flags: -with-conduit
diff --git a/radicle-lang/radicle-lang.cabal b/radicle-lang/radicle-lang.cabal
new file mode 100644
index 0000000..df64c3a
--- /dev/null
+++ b/radicle-lang/radicle-lang.cabal
@@ -0,0 +1,106 @@
+-- This file has been generated from package.yaml by hpack version 0.28.2.
+--
+-- see: https://github.com/sol/hpack
+--
+-- hash: d2ab9b80c726e88c408a7ca5bbf94e901f76a12cf13c294175e6368e4b89793d
+
+name: radicle-lang
+version: 0.0.1
+homepage: https://github.com/radicle-dev/radicle-lang#readme
+bug-reports: https://github.com/radicle-dev/radicle-lang/issues
+author: Monadic <[email protected]>
+maintainer: Monadic <[email protected]>
+license: MIT
+build-type: Simple
+cabal-version: >= 1.10
+
+source-repository head
+ type: git
+ location: https://github.com/radicle-dev/radicle-lang
+
+library
+ exposed-modules:
+ Radicle
+ Radicle.Lang.Annotation
+ Radicle.Lang.Core
+ Radicle.Lang.Crypto
+ Radicle.Lang.Doc
+ Radicle.Lang.Eval
+ Radicle.Lang.Identifier
+ Radicle.Lang.Internal.Arbitrary
+ Radicle.Lang.Internal.Orphans
+ Radicle.Lang.Internal.Time
+ Radicle.Lang.Internal.UUID
+ Radicle.Lang.Interpret
+ Radicle.Lang.Json
+ Radicle.Lang.Number
+ Radicle.Lang.Parse
+ Radicle.Lang.Pretty
+ Radicle.Lang.PrimFns
+ Radicle.Lang.Type
+ Radicle.TH
+ other-modules:
+ Paths_radicle_lang
+ hs-source-dirs:
+ src
+ default-extensions: ConstraintKinds DefaultSignatures DeriveDataTypeable DeriveGeneric DeriveTraversable FlexibleContexts FlexibleInstances FunctionalDependencies GeneralizedNewtypeDeriving LambdaCase MultiParamTypeClasses NoImplicitPrelude OverloadedStrings RankNTypes RecordWildCards ScopedTypeVariables StandaloneDeriving TupleSections TypeFamilies
+ build-depends:
+ QuickCheck
+ , aeson
+ , base >=4.7 && <5
+ , bytestring
+ , containers
+ , cryptonite
+ , generics-eot
+ , megaparsec
+ , mmorph
+ , mtl
+ , pointed
+ , prettyprinter
+ , prettyprinter-ansi-terminal
+ , process
+ , protolude
+ , quickcheck-instances
+ , scientific
+ , serialise
+ , template-haskell
+ , text
+ , time
+ , unordered-containers
+ , uuid
+ , vector
+ default-language: Haskell2010
+
+test-suite spec
+ type: exitcode-stdio-1.0
+ main-is: Main.hs
+ other-modules:
+ Radicle.Internal.Foo
+ Radicle.Tests
+ Paths_radicle_lang
+ hs-source-dirs:
+ test/spec
+ default-extensions: ConstraintKinds DefaultSignatures DeriveDataTypeable DeriveGeneric DeriveTraversable FlexibleContexts FlexibleInstances FunctionalDependencies GeneralizedNewtypeDeriving LambdaCase MultiParamTypeClasses NoImplicitPrelude OverloadedStrings RankNTypes RecordWildCards ScopedTypeVariables StandaloneDeriving TupleSections TypeFamilies
+ ghc-options: -threaded -rtsopts -with-rtsopts=-N
+ build-depends:
+ QuickCheck
+ , base >=4.7 && <5
+ , containers
+ , cryptonite
+ , interpolate
+ , megaparsec
+ , process
+ , protolude
+ , quickcheck-instances
+ , radicle-lang
+ , scientific
+ , serialise
+ , string-qq
+ , tasty
+ , tasty-hunit
+ , tasty-quickcheck
+ , text
+ , time
+ build-tools:
+ tasty-discover
+ default-language: Haskell2010
diff --git a/radicle-repl/radicle-repl.cabal b/radicle-repl/radicle-repl.cabal
new file mode 100644
index 0000000..d9d1c8c
--- /dev/null
+++ b/radicle-repl/radicle-repl.cabal
@@ -0,0 +1,78 @@
+-- This file has been generated from package.yaml by hpack version 0.28.2.
+--
+-- see: https://github.com/sol/hpack
+--
+-- hash: 96661a8ae7732984dede9bb77cd1868de971a6605b17c3ba1b9e4b28d9a83e94
+
+name: radicle-repl
+version: 0.0.1
+homepage: https://github.com/radicle-dev/radicle-repl#readme
+bug-reports: https://github.com/radicle-dev/radicle-repl/issues
+author: Monadic <[email protected]>
+maintainer: Monadic <[email protected]>
+license: MIT
+build-type: Simple
+cabal-version: >= 1.10
+
+source-repository head
+ type: git
+ location: https://github.com/radicle-dev/radicle-repl
+
+library
+ exposed-modules:
+ Radicle.Repl
+ Radicle.Repl.Capabilities
+ other-modules:
+ Paths_radicle_repl
+ hs-source-dirs:
+ src
+ default-extensions: ConstraintKinds FlexibleContexts FlexibleInstances FunctionalDependencies LambdaCase MultiParamTypeClasses NoImplicitPrelude OverloadedStrings ScopedTypeVariables TypeFamilies
+ build-depends:
+ ansi-terminal
+ , base >=4.7 && <5
+ , bytestring
+ , containers
+ , directory
+ , filepath
+ , haskeline
+ , prettyprinter
+ , process
+ , protolude
+ , radicle-lang
+ , text
+ , time
+ default-language: Haskell2010
+
+test-suite spec
+ type: exitcode-stdio-1.0
+ main-is: Main.hs
+ other-modules:
+ Radicle.Repl.TestCapabilities
+ Radicle.Repl.Tests
+ Paths_radicle_repl
+ hs-source-dirs:
+ test/spec
+ default-extensions: ConstraintKinds FlexibleContexts FlexibleInstances FunctionalDependencies LambdaCase MultiParamTypeClasses NoImplicitPrelude OverloadedStrings ScopedTypeVariables TypeFamilies
+ ghc-options: -threaded -rtsopts -with-rtsopts=-N
+ build-depends:
+ QuickCheck
+ , base >=4.7 && <5
+ , containers
+ , cryptonite
+ , interpolate
+ , megaparsec
+ , process
+ , protolude
+ , radicle-lang
+ , radicle-repl
+ , scientific
+ , serialise
+ , string-qq
+ , tasty
+ , tasty-hunit
+ , tasty-quickcheck
+ , text
+ , time
+ build-tools:
+ tasty-discover
+ default-language: Haskell2010