Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
brandoncorrea committed May 28, 2024
1 parent 2c4c512 commit 08b77c8
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ Include speclj in your `:dev` profile `:dependencies` and`:plugins`. Then change

```clojure
; - snip
:dependencies [[org.clojure/clojure "1.11.2"]]
:profiles {:dev {:dependencies [[speclj "3.4.6"]]}}
:plugins [[speclj "3.4.6"]]
:dependencies [[org.clojure/clojure "1.11.3"]]
:profiles {:dev {:dependencies [[speclj "3.4.8"]]}}
:plugins [[speclj "3.4.8"]]
:test-paths ["spec"]
```

Expand Down Expand Up @@ -140,7 +140,7 @@ Add a `spec` alias to your `deps.edn`.
```clojure
{
:aliases {:spec {:main-opts ["-m" "speclj.main" "-c"]
:extra-deps {speclj/speclj {:mvn/version "3.4.6"}}
:extra-deps {speclj/speclj {:mvn/version "3.4.8"}}
:extra-paths ["spec"]}}
}
```
Expand Down Expand Up @@ -246,9 +246,7 @@ p.injectJs(phantom.args[0]);

var result = p.evaluate(function () {
speclj.run.standard.arm();
return speclj.run.standard.run_specs(
cljs.core.keyword("color"), true
);
return speclj.run.standard.run_specs("color", true);
});

phantom.exit(result);
Expand Down Expand Up @@ -314,7 +312,7 @@ Here's an example alias for your `deps.edn`.
```clojure
{:aliases {:cov {:main-opts ["-m" "cloverage.coverage" "--runner" ":speclj" "-p" "src" "-s" "spec" ]
:extra-deps {cloverage/cloverage {:mvn/version "1.2.4"}
speclj/speclj {:mvn/version "3.4.6"}}}}}
speclj/speclj {:mvn/version "3.4.8"}}}}}
```

Sadly, Cloverage doesn't offer a way to pass arguments to the runner (Speclj in this case). Speclj will use the
Expand Down

0 comments on commit 08b77c8

Please sign in to comment.