Created
November 20, 2010 18:25
-
-
Save slagyr/708033 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Output when run from command line: | |
...................................................................... | |
Finished in 0.69600 seconds | |
70 examples, 0 failures | |
Output when run through eval-in-project: | |
...................................................................... | |
Finished in 0.69600 seconds | |
70 examples, 0 failures | |
lein task: | |
(defn spec [project & args] | |
(let [exec-form `(~'do (~'use 'speclj.main)(~'run '~@args))] | |
(eval-in-project project exec-form nil nil nil))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment