Skip to content

Commit

Permalink
Separate spago.dhall for src and test
Browse files Browse the repository at this point in the history
  • Loading branch information
newlandsvalley committed Nov 20, 2020
1 parent a4750e6 commit cc8771a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
11 changes: 2 additions & 9 deletions spago.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]
}
7 changes: 7 additions & 0 deletions test.dhall
Original file line number Diff line number Diff line change
@@ -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" ]
}

0 comments on commit cc8771a

Please sign in to comment.