nasser / nostrand

Clojure on Mono
68 stars 11 forks source link

The assemblies seemed to be only saved in memory with .NET Core #28

Closed skydread1 closed 3 years ago

skydread1 commented 3 years ago

Even though ILPack is supposed to save the .dll of the compiled clj on disk in the specified folder, we can only see a < In Memory Module >.

Assumptions : The issue #26 and #25 are fixed.

Given mytasks.clj with the following content:

(defn build []
  (binding [*compile-path* "build"]
    (compile 'dummy)))

and dummy.clj

(ns dummy)

(+ 3 3)

and the command

nos mytasks/build

We have the following result:

[compile-file] start /Users/loicblanchard/workspaces/nostrand/bin/x64/Debug/netcoreapp3.0/dummy.clj
[compile-expression-top-level] (ns dummy)
[compile-expression] (ns dummy) nostrand.core {string #object[Namespace 0x6d919a clojure.string], deps #object[Namespace 0x38ddad3 nostrand.deps]}
[compile-expression-top-level] (+ 3 3)
[compile-expression] (+ 3 3) dummy {}
[compile-file] file already exists build/<In Memory Module>
[compile-file] end /Users/loicblanchard/workspaces/nostrand/bin/x64/Debug/netcoreapp3.0/dummy.clj -> build/<In Memory Module>