Skip to content

Commit

Permalink
Separated out dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdp committed May 19, 2020
1 parent 20c9de5 commit ecf232f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"build": "spago build",
"test": "spago test"
"test": "spago --config spago.test.dhall test"
},
"author": "",
"license": "ISC",
Expand Down
4 changes: 1 addition & 3 deletions spago.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@ You can edit this file as you like.
, dependencies =
[ "arrays"
, "avar"
, "console"
, "filterable"
, "profunctor"
, "refs"
, "strings"
, "unsafe-reference"
]
, packages = ./packages.dhall
, sources = [ "src/**/*.purs", "test/**/*.purs" ]
, sources = [ "src/**/*.purs" ]
}
10 changes: 10 additions & 0 deletions spago.test.dhall
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
let conf = ./spago.dhall

let dependencies = [ "console", "strings" ]

let sources = [ "test/**/*.purs" ]

in conf //
{ dependencies = conf.dependencies # dependencies
, sources = conf.sources # sources
}

0 comments on commit ecf232f

Please sign in to comment.