Skip to content

Instantly share code, notes, and snippets.

@slagyr
Created November 20, 2010 18:25
Show Gist options
  • Save slagyr/708033 to your computer and use it in GitHub Desktop.
Save slagyr/708033 to your computer and use it in GitHub Desktop.
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