You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can invoke ClojureCLR just fine and get the REPL:
$ mono Clojure.Main.exe
Clojure 1.9.0
user=>
This is how my project.clj looks like:
(defprojectbar"0.1.0-SNAPSHOT":description"FIXME: write description":url"http://example.com/FIXME":license {:name"Eclipse Public License":url"http://www.eclipse.org/legal/epl-v10.html"}
:dependencies []
:warn-on-reflectiontrue:min-lein-version"2.0.0":plugins [[lein-clr "0.2.2"]]
:clr {:cmd-templates {:clj-exe [[?PATH "mono"] [CLJCLR19_40 %1]]
:clj-dep [[?PATH "mono"] ["target/clr/clj/Release 4.0" %1]]
:clj-url"https://sourceforge.net/projects/clojureclr/files/clojure-clr-1.9.0-Release%204.0.zip/download":clj-zip"clojure-clr-1.9.0-Release 4.0.zip":curl ["curl""--insecure""-f""-L""-o" %1 %2]
:nuget-ver [[?PATH "mono"] [*PATH "nuget"] "install" %1"-Version" %2]
:nuget-any [[?PATH "mono"] [*PATH "nuget"] "install" %1]
:unzip ["unzip""-d" %1 %2]
:wget ["wget""--no-check-certificate""--no-clobber""-O" %1 %2]}
;; for automatic download/unzip of ClojureCLR,;; 1. make sure you have curl or wget installed and on PATH,;; 2. uncomment deps in :deps-cmds, and;; 3. use :clj-dep instead of :clj-exe in :main-cmd and :compile-cmd:deps-cmds [[:curl:clj-zip:clj-url]
[:unzip"../clj":clj-zip]]
:main-cmd [:clj-dep"Clojure.Main.exe"]
:compile-cmd [:clj-dep"Clojure.Compile.exe"]})
lein-clr works with the default ClojureCLR 1.4.0 and if you upgrade to 1.5.0 it still works. But going to any release above that, the plugin fails like the above.
I can see that something is not being picked up by the way Clojure.Main.exe is being invoked, but I'm unsure as to what exactly.
This is how to reproduce it:
Which outputs:
If I then:
I can invoke ClojureCLR just fine and get the REPL:
This is how my project.clj looks like:
lein-clr
works with the default ClojureCLR1.4.0
and if you upgrade to1.5.0
it still works. But going to any release above that, the plugin fails like the above.I can see that something is not being picked up by the way
Clojure.Main.exe
is being invoked, but I'm unsure as to what exactly.My environment:
OS: macOS 10.14.4
The text was updated successfully, but these errors were encountered: