Skip to content

Commit c4d6cb0

Browse files
Prepare new release (#25)
* Depend on purescript-specs v4 * Use spago and specs v4 in README
1 parent d4379a7 commit c4d6cb0

File tree

2 files changed

+2
-21
lines changed

2 files changed

+2
-21
lines changed

README.md

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,9 @@ It only works for NodeJS environments, currently.
99
## Usage
1010

1111
```bash
12-
bower install --save-dev purescript-spec-discovery
12+
spago install spec-discovery
1313
```
1414

15-
For `purescript-spec` `>= 4.0.0`:
16-
1715
```purescript
1816
module Test.Main where
1917
@@ -30,23 +28,6 @@ main = launchAff_ do
3028
runSpec [consoleReporter] specs
3129
```
3230

33-
For older versions of `purescript-spec`:
34-
35-
```purescript
36-
module Test.Main where
37-
38-
import Prelude
39-
import Effect (Effect)
40-
import Test.Spec.Discovery (discover)
41-
import Test.Spec.Reporter.Console (consoleReporter)
42-
import Test.Spec.Runner (run)
43-
44-
main :: Effect Unit
45-
main = do
46-
specs <- discover """My\.Package\..*Spec"""
47-
run [consoleReporter] specs
48-
```
49-
5031
All modules that match the regular expression, **and have a definition
5132
`spec :: Spec Unit`**, will be included and run.
5233

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"purescript-prelude": "^4.0.0",
1616
"purescript-effect": "^2.0.0",
1717
"purescript-arrays": "^5.0.0",
18-
"purescript-spec": "#>=3.1.0 <5.0.0",
18+
"purescript-spec": "^4.0.0",
1919
"purescript-node-fs": "^5.0.0"
2020
}
2121
}

0 commit comments

Comments
 (0)