diff --git a/package.json b/package.json index 2621fed..a6e5139 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "build": "spago build && npm run esbuild && node copy", "prepack": "spago build && npm run esbuild:node", "server": "live-server web --open", - "test": "spago test" + "test": "spago -x test.dhall test" }, "bugs": { "url": "https://github.com/sharkdp/insect/issues" diff --git a/spago.dhall b/spago.dhall index 29524a6..4f55c6c 100644 --- a/spago.dhall +++ b/spago.dhall @@ -5,12 +5,10 @@ Need help? See the following resources: -} { name = "insect" , dependencies = - [ "aff" - , "arrays" + [ "arrays" , "bifunctors" , "control" , "decimals" - , "effect" , "either" , "foldable-traversable" , "integers" @@ -22,9 +20,8 @@ Need help? See the following resources: , "prelude" , "quantities" , "strings" - , "test-unit" , "tuples" ] , 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..a5759ca --- /dev/null +++ b/test.dhall @@ -0,0 +1,5 @@ +let conf = ./spago.dhall +in conf // { + sources = conf.sources # [ "test/**/*.purs" ] +, dependencies = conf.dependencies # ["aff", "effect", "test-unit"] +}