Move to lancet as a separate project.
Requires re-running "lein-stable deps" in checkout if you are running from source.
This commit is contained in:
parent
beeb8ed154
commit
c99af38529
8 changed files with 15 additions and 14 deletions
|
@ -385,7 +385,7 @@ repository or get it into Maven central, the easiest way is to publish
|
|||
it at [Clojars](http://clojars.org). Once you have created an account
|
||||
there, publishing is easy:
|
||||
|
||||
$ lein jar && lein pom
|
||||
$ lein jar, pom
|
||||
$ scp pom.xml myproject-1.0.0.jar clojars@clojars.org:
|
||||
|
||||
Once that succeeds it will be available as a package on which other
|
||||
|
|
|
@ -8,8 +8,7 @@
|
|||
:license {:name "Eclipse Public License"}
|
||||
:dependencies [[org.clojure/clojure "1.2.0"]
|
||||
[org.clojure/clojure-contrib "1.2.0"]
|
||||
[org.apache.ant/ant "1.7.1"]
|
||||
[org.apache.ant/ant-nodeps "1.7.1"]
|
||||
[lancet "1.0.0"]
|
||||
[jline "0.9.94"]
|
||||
[robert/hooke "1.1.0"]
|
||||
[org.apache.maven/maven-ant-tasks "2.0.10" :exclusions [ant]]]
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
(java.util.concurrent CountDownLatch)
|
||||
(org.apache.tools.ant.types Path)))
|
||||
|
||||
(println "WARNING: lancet namespace is deprecated; use lancet.core.")
|
||||
|
||||
(def #^{:doc "Dummy ant project to keep Ant tasks happy"}
|
||||
ant-project
|
||||
(let [proj (org.apache.tools.ant.Project.)
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
(ns leiningen.compile
|
||||
"Compile Clojure source into .class files."
|
||||
(:require lancet)
|
||||
(:use [leiningen.deps :only [deps]]
|
||||
[leiningen.core :only [ns->path]]
|
||||
[leiningen.javac :only [javac]]
|
||||
[leiningen.classpath :only [make-path find-lib-jars get-classpath]]
|
||||
[clojure.java.io :only [file]]
|
||||
[leiningen.util.ns :only [namespaces-in-dir]])
|
||||
(:require [lancet.core :as lancet])
|
||||
(:use [leiningen.deps :only [deps]]
|
||||
[leiningen.core :only [ns->path]]
|
||||
[leiningen.javac :only [javac]]
|
||||
[leiningen.classpath :only [make-path find-lib-jars get-classpath]]
|
||||
[clojure.java.io :only [file]]
|
||||
[leiningen.util.ns :only [namespaces-in-dir]])
|
||||
(:refer-clojure :exclude [compile])
|
||||
(:import (org.apache.tools.ant.taskdefs Java)
|
||||
(java.lang.management ManagementFactory)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
(ns leiningen.deploy
|
||||
"Build and deploy jar to remote repository."
|
||||
(:require [lancet])
|
||||
(:require [lancet.core :as lancet])
|
||||
(:use [leiningen.core :only [abort repositories-for]]
|
||||
[leiningen.jar :only [jar]]
|
||||
[leiningen.pom :only [pom snapshot?]]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
(ns leiningen.deps
|
||||
"Download all dependencies and place them in the :library-path."
|
||||
(:require [lancet])
|
||||
(:require [lancet.core :as lancet])
|
||||
(:use [leiningen.core :only [repositories-for]]
|
||||
[leiningen.util.maven :only [make-dependency]]
|
||||
[leiningen.util.file :only [delete-file-recursively]])
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"Package up all the project's files into a jar file."
|
||||
(:require [leiningen.compile :as compile]
|
||||
[clojure.string :as string]
|
||||
[lancet])
|
||||
[lancet.core :as lancet])
|
||||
(:use [leiningen.pom :only [make-pom make-pom-properties]]
|
||||
[leiningen.deps :only [deps]]
|
||||
[clojure.java.io :only [copy file]])
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
(ns leiningen.javac
|
||||
"Compile Java source files."
|
||||
(:use [leiningen.classpath :only [get-classpath-string]])
|
||||
(:require [lancet])
|
||||
(:require [lancet.core :as lancet])
|
||||
(:import (java.io File)))
|
||||
|
||||
(def ^{:doc "Default options for the java compiler."} *default-javac-options*
|
||||
|
|
Loading…
Reference in a new issue