|
| 1 | +(defproject clr.core.async "0.1.0-SNAPSHOT" |
| 2 | + :description "FIXME: write description" |
| 3 | + :url "http://example.com/FIXME" |
| 4 | + :license {:name "Eclipse Public License" |
| 5 | + :url "http://www.eclipse.org/legal/epl-v10.html"} |
| 6 | + :dependencies [] |
| 7 | + :warn-on-reflection true |
| 8 | + :source-paths ["src/main/clojure"] |
| 9 | + :test-paths ["src/test/clojure"] |
| 10 | + :min-lein-version "2.0.0" |
| 11 | + :plugins [[lein-clr "0.2.1"]] |
| 12 | + :clr {:cmd-templates {:clj-exe [[?PATH "mono"] [CLJCLR14_40 %1]] |
| 13 | + :clj-dep [[?PATH "mono"] ["target/clr/clj/Debug 4.0" %1]] |
| 14 | + :clj-url "http://sourceforge.net/projects/clojureclr/files/clojure-clr-1.4.1-Debug-4.0.zip/download" |
| 15 | + :clj-zip "clojure-clr-1.4.1-Debug-4.0.zip" |
| 16 | + :curl ["curl" "--insecure" "-f" "-L" "-o" %1 %2] |
| 17 | + :nuget-ver [[?PATH "mono"] [*PATH "nuget.exe"] "install" %1 "-Version" %2] |
| 18 | + :nuget-any [[?PATH "mono"] [*PATH "nuget.exe"] "install" %1] |
| 19 | + :unzip ["unzip" "-d" %1 %2] |
| 20 | + :wget ["wget" "--no-check-certificate" "--no-clobber" "-O" %1 %2]} |
| 21 | + ;; for automatic download/unzip of ClojureCLR, |
| 22 | + ;; 1. make sure you have curl or wget installed and on PATH, |
| 23 | + ;; 2. uncomment deps in :deps-cmds, and |
| 24 | + ;; 3. use :clj-dep instead of :clj-exe in :main-cmd and :compile-cmd |
| 25 | + :deps-cmds [; [:wget :clj-zip :clj-url] ; edit to use :curl instead of :wget |
| 26 | + ; [:unzip "../clj" :clj-zip] |
| 27 | + ] |
| 28 | + :main-cmd [:clj-exe "Clojure.Main.exe"] |
| 29 | + :compile-cmd [:clj-exe "Clojure.Compile.exe"]}) |
0 commit comments