Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

updates projects.clj and travis config

  • Loading branch information...
commit 13efab14d28d500733e09c03587845719f56b482 1 parent a6c31c6
@slagyr authored
View
2  .travis.yml
@@ -1,4 +1,4 @@
language: clojure
lein: lein2
-script: "lein2 do javac, all-tests"
+script: "lein2 ci"
View
4 README.md
@@ -20,8 +20,8 @@ Include speclj in your `:dev` profile `:dependencies` and`:plugins`. Then change
```clojure
; - snip
:dependencies [[org.clojure/clojure "1.5.1"]]
-:profiles {:dev {:dependencies [[speclj "2.9.1"]]}}
-:plugins [[speclj "2.9.1"]]
+:profiles {:dev {:dependencies [[speclj "3.0.0"]]}}
+:plugins [[speclj "3.0.0"]]
:test-paths ["spec"]
```
View
21 project.clj
@@ -33,11 +33,11 @@
:java-source-paths ["src/clj"]
- :profiles {:dev {:dependencies [[com.keminglabs/cljx "0.3.2"]
- [org.clojure/clojurescript "0.0-2014"]]
- ;[org.clojure/clojurescript "0.0-2173"]]
- :plugins [[com.keminglabs/cljx "0.3.2"]
- [lein-cljsbuild "1.0.2"]]}}
+ :profiles {:dev {:dependencies [[com.keminglabs/cljx "0.3.2"]
+ [org.clojure/clojurescript "0.0-2014"]]
+ ;[org.clojure/clojurescript "0.0-2173"]]
+ :plugins [[com.keminglabs/cljx "0.3.2"]
+ [lein-cljsbuild "1.0.1"]]}}
:cljsbuild {:builds {:dev {:source-paths ["target/classes" "src/cljs" "target/test-classes" "spec/cljs"]
:compiler {:output-to "target/tests.js"
@@ -46,13 +46,10 @@
}}
:test-commands {"unit" ["bin/specljs" "target/tests.js"]}}
- ;:aliases {"cljsbuild" ["with-profile" "cljs" "cljsbuild"]
- ; "cljx" ["with-profile" "dev" "cljx"]
- ; "clj-test" ["do" "clean," "with-profile" "clj" "run" "-m" "speclj.main" "-c" "-b" "target/generated/spec/clj" "spec/clj"]
- ; "cljs-test" ["do" "clean," "cljx," "with-profile" "cljs" "test"]
- ; "all-tests" ["do" "clj-test," "cljs-test"]}
+ :aliases {"cljs" ["do" "clean," "cljx," "cljsbuild" "once" "dev"]
+ "ci" ["do" "clean," "javac," "spec," "cljsbuild" "once" "dev"]}
- :eval-in :leiningen
- :speclj-eval-in :leiningen
+ :eval-in :leiningen ; to recognize spec task
+ :speclj-eval-in :leiningen ; to make tests faster
)
View
14 src/cljs/speclj/core.cljs
@@ -2,5 +2,17 @@
"Speclj's API. It contains nothing but macros, so that it can be used
in both Clojure and ClojureScript."
(:require [clojure.data]
- [speclj.run.standard]))
+ [speclj.components]
+ [speclj.config]
+ [speclj.platform]
+ [speclj.reporting]
+ [speclj.results]
+ [speclj.running]
+ [speclj.stub]
+ [speclj.tags]
+ [speclj.report.documentation]
+ [speclj.report.progress]
+ [speclj.report.silent]
+ [speclj.run.standard]
+ ))
Please sign in to comment.
Something went wrong with that request. Please try again.