Just add :omit-source true to your project.clj options. You may have a look at the sample project.clj on github:
https://github.com/technomancy/leiningen/blob/master/sample.project.clj All the options are documented there. Luc > Thanks for the replies. My technical instincts were to compile :aot without > having enough JVM, Java, or Clojure experience. > > How do you request lein to remove the source code? > > On Wednesday, April 4, 2012 3:22:01 PM UTC-4, octopusgrabbus wrote: > > > > Is there any reason to compile a Clojure library with :aot? > > > > (defproject bene-csv "1.0.0-SNAPSHOT" > > :description "A csv parsing library" > > :dependencies [[org.clojure/clojure "1.3.0"] > > [clojure-csv/clojure-csv "1.3.2"]] > > :aot [bene-csv.core]) > > > > How does compiling or not compiling such a project with :aot affect the > > Clojure "main" project that "requires" the library? > > > > Thanks. > > > > On Wednesday, April 4, 2012 3:22:01 PM UTC-4, octopusgrabbus wrote: > > > > Is there any reason to compile a Clojure library with :aot? > > > > (defproject bene-csv "1.0.0-SNAPSHOT" > > :description "A csv parsing library" > > :dependencies [[org.clojure/clojure "1.3.0"] > > [clojure-csv/clojure-csv "1.3.2"]] > > :aot [bene-csv.core]) > > > > How does compiling or not compiling such a project with :aot affect the > > Clojure "main" project that "requires" the library? > > > > Thanks. > > > > On Wednesday, April 4, 2012 3:22:01 PM UTC-4, octopusgrabbus wrote: > > > > Is there any reason to compile a Clojure library with :aot? > > > > (defproject bene-csv "1.0.0-SNAPSHOT" > > :description "A csv parsing library" > > :dependencies [[org.clojure/clojure "1.3.0"] > > [clojure-csv/clojure-csv "1.3.2"]] > > :aot [bene-csv.core]) > > > > How does compiling or not compiling such a project with :aot affect the > > Clojure "main" project that "requires" the library? > > > > Thanks. > > > > On Wednesday, April 4, 2012 3:22:01 PM UTC-4, octopusgrabbus wrote: > > > > Is there any reason to compile a Clojure library with :aot? > > > > (defproject bene-csv "1.0.0-SNAPSHOT" > > :description "A csv parsing library" > > :dependencies [[org.clojure/clojure "1.3.0"] > > [clojure-csv/clojure-csv "1.3.2"]] > > :aot [bene-csv.core]) > > > > How does compiling or not compiling such a project with :aot affect the > > Clojure "main" project that "requires" the library? > > > > Thanks. > > > > On Wednesday, April 4, 2012 3:22:01 PM UTC-4, octopusgrabbus wrote: > > > > Is there any reason to compile a Clojure library with :aot? > > > > (defproject bene-csv "1.0.0-SNAPSHOT" > > :description "A csv parsing library" > > :dependencies [[org.clojure/clojure "1.3.0"] > > [clojure-csv/clojure-csv "1.3.2"]] > > :aot [bene-csv.core]) > > > > How does compiling or not compiling such a project with :aot affect the > > Clojure "main" project that "requires" the library? > > > > Thanks. > > > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to [email protected] > Note that posts from new members are moderated - please be patient with your > first post. > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en -- Softaddicts<[email protected]> sent by ibisMail! -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
