A peer-to-peer stack for code collaboration
Weeding the projects
Fintan Halpennya7859572ef10
diff --git a/package.yaml b/package.yamlindex 6d3af20..d105030 100644--- a/package.yaml+++ b/package.yaml@@ -21,8 +21,6 @@ custom-setup:dependencies:- base >=4 && <5- protolude-- radicle-lang-- radicle-replghc-options:- -Wall@@ -38,48 +36,35 @@ library:source-dirs: srcdependencies:- aeson- - ansi-terminal- bytestring- clock- conduit- conduit-extra- containers- - cryptonite- directory- filepath- - generics-eot- - haskeline- http-client- http-conduit- http-types- http-media- ipld-cid- - megaparsec- - mmorph- mtl- multibase- optparse-applicative- - pointed- - prettyprinter- - prettyprinter-ansi-terminal- - process+ - radicle-lang+ - radicle-repl- resourcet- retry- safe-exceptions- - scientific- - serialise- servant- servant-client- servant-swagger- swagger2- - template-haskell- text- time- unliftio-core- unliftio- unordered-containers- - uuid- - vectortests:spec:@@ -142,6 +127,7 @@ executables:other-modules: []dependencies:- radicle+ - radicle-repl- bytestring- directory- optparse-applicative@@ -155,6 +141,7 @@ executables:- containers- mtl- radicle+ - radicle-lang- safe-exceptions- servant-server- text@@ -170,6 +157,7 @@ executables:other-modules: []dependencies:- radicle+ - radicle-repl- optparse-applicativeghc-options: ["-main-is", "RadicleRepl"]@@ -179,6 +167,7 @@ executables:other-modules: []dependencies:- radicle+ - radicle-lang- optparse-applicative- pandoc- text@@ -190,6 +179,8 @@ executables:other-modules: []dependencies:- radicle+ - radicle-lang+ - radicle-repl- pandoc- data-default- containers@@ -202,11 +193,11 @@ executables:source-dirs: exe/other-modules: []dependencies:- - radicle- containers- - time- github < 0.21- optparse-applicative+ - radicle-lang+ - timeghc-options: ["-main-is", "GithubIssues"]radicle-benchmark:@@ -214,7 +205,7 @@ executables:source-dirs: exe/other-modules: []dependencies:- - radicle+ - radicle-lang- criterionghc-options: ["-main-is", "Benchmarks"]diff --git a/radicle-lang/package.yaml b/radicle-lang/package.yamlindex 013551a..4ee2377 100644--- a/radicle-lang/package.yaml+++ b/radicle-lang/package.yaml@@ -29,14 +29,10 @@ library:source-dirs: srcdependencies:- aeson- - ansi-terminal- bytestring- containers- cryptonite- - directory- - filepath- generics-eot- - haskeline- megaparsec- mmorph- mtl@@ -53,7 +49,6 @@ library:- text- time- uuid- - unliftio-core- unordered-containers- vector@@ -63,7 +58,6 @@ tests:source-dirs:- test/specdependencies:- - async- containers- cryptonite- interpolate@@ -75,7 +69,6 @@ tests:- radicle-lang- scientific- serialise- - stm- string-qq- tasty- tasty-hunitdiff --git a/radicle-lang/test/spec/Radicle/Tests.hs b/radicle-lang/test/spec/Radicle/Tests.hsindex 58049e9..5eaccd7 100644--- a/radicle-lang/test/spec/Radicle/Tests.hs+++ b/radicle-lang/test/spec/Radicle/Tests.hs@@ -1,5 +1,13 @@{-# LANGUAGE QuasiQuotes #-}-module Radicle.Tests where+module Radicle.Tests+ ( test_eval+ , test_parser+ , test_binding+ , test_pretty+ , test_env+ , test_from_to_radicle+ , test_cbor+ ) whereimport Protolude hiding (toList)diff --git a/radicle-repl/package.yaml b/radicle-repl/package.yamlindex 407da83..1eaed47 100644--- a/radicle-repl/package.yaml+++ b/radicle-repl/package.yaml@@ -44,7 +44,6 @@ tests:source-dirs:- test/specdependencies:- - async- containers- cryptonite- interpolate@@ -52,12 +51,10 @@ tests:- process- protolude- QuickCheck- - quickcheck-instances- radicle-lang- radicle-repl- scientific- serialise- - stm- string-qq- tasty- tasty-hunitdiff --git a/radicle-repl/test/spec/Radicle/Repl/TestCapabilities.hs b/radicle-repl/test/spec/Radicle/Repl/TestCapabilities.hsindex 247bccb..371d9e8 100644--- a/radicle-repl/test/spec/Radicle/Repl/TestCapabilities.hs+++ b/radicle-repl/test/spec/Radicle/Repl/TestCapabilities.hs@@ -2,7 +2,6 @@-- "Radicle.Repl.Capabilities" that may be used for testing.module Radicle.Repl.TestCapabilities (runCodeWithWorld- , runPureCode, runCodeWithFiles, WorldState(..)@@ -54,12 +53,6 @@ runCodeWithFiles files code =let ws = defaultWorldState { worldStateFiles = files }in fst <$> runCodeWithWorld ws code--- | Run radicle code in a pure environment.-runPureCode :: Text -> Either (LangError Value) Value-runPureCode code =- let prog = interpretMany "[test]" code- in evalState (fst <$> runLang pureEnv prog) defaultWorldState-runCodeWithWorld :: WorldState -> Text -> IO (Either (LangError Value) Value, [Text])runCodeWithWorld ws code = dolet prog = interpretMany "[test]" codediff --git a/radicle-repl/test/spec/Radicle/Repl/Tests.hs b/radicle-repl/test/spec/Radicle/Repl/Tests.hsindex 3ad896b..e1bbb64 100644--- a/radicle-repl/test/spec/Radicle/Repl/Tests.hs+++ b/radicle-repl/test/spec/Radicle/Repl/Tests.hs@@ -1,5 +1,6 @@{-# LANGUAGE QuasiQuotes #-}-module Radicle.Repl.Tests where+module Radicle.Repl.Tests+ ( test_repl_primops ) whereimport Protolude hiding (toList)