From cc8771ae306d08f0401ca2e624b97ec0020474e8 Mon Sep 17 00:00:00 2001 From: John Watson Date: Fri, 20 Nov 2020 10:43:16 +0000 Subject: [PATCH] Separate spago.dhall for src and test --- spago.dhall | 11 ++--------- test.dhall | 7 +++++++ 2 files changed, 9 insertions(+), 9 deletions(-) create mode 100644 test.dhall diff --git a/spago.dhall b/spago.dhall index 62f2216..7543cf2 100644 --- a/spago.dhall +++ b/spago.dhall @@ -4,22 +4,15 @@ You can edit this file as you like. -} { name = "midi" , dependencies = - [ "assert" - , "console" + [ , "effect" , "generics-rep" , "integers" , "lists" - , "node-buffer" - , "node-fs-aff" , "prelude" - , "psci-support" - , "quickcheck" , "signal" , "string-parsers" - , "test-unit" - , "unicode" ] , packages = ./packages.dhall -, sources = [ "src/**/*.purs", "test/**/*.purs" ] +, sources = [ "src/**/*.purs" ] } diff --git a/test.dhall b/test.dhall new file mode 100644 index 0000000..f7c174b --- /dev/null +++ b/test.dhall @@ -0,0 +1,7 @@ +let conf = ./spago.dhall + +in conf // { + sources = conf.sources # [ "test/**/*.purs" ], + dependencies = conf.dependencies # [ "assert" , "console" , + "node-buffer" , "node-fs-aff", "test-unit" , "quickcheck" ] +}