Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (17 sloc) 0.639 kb
(defproject expectations "1.3.5"
:description "testing framework"
:jar-name "expectations.jar"
:java-source-path "src/java"
:source-path "src/clojure"
:test-path "test/clojure"
:dev-dependencies [[lein-expectations "0.0.1"]]
:dependencies [[org.clojure/clojure "1.3.0"]
[junit/junit "4.8.1"]])
(ns leiningen.publish
(:require leiningen.jar)
(:use clojure.java.shell))
(defn publish [project & args]
(leiningen.jar/jar project)
(let [response (apply sh "fig" "--publish" (str (:name project) "/" (:version project)) args)]
(println "OUT:" (:out response))
(println "ERR:" (:err response))))
Jump to Line
Something went wrong with that request. Please try again.