Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion leiningen-core/src/leiningen/core/eval.clj
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,8 @@
(io/file (:target-path project) (str checksum "-init.clj"))
(File/createTempFile "form-init" ".clj"))]
(spit init-file
(binding [*print-dup* *eval-print-dup*]
(binding [*print-dup* *eval-print-dup*
*print-meta* true]
(pr-str (if-not (System/getenv "LEIN_FAST_TRAMPOLINE")
`(.deleteOnExit (File. ~(.getCanonicalPath init-file))))
form)))
Expand Down
2 changes: 1 addition & 1 deletion src/leiningen/run.clj
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
;; If the class exists, run its main method.
class#
(Reflector/invokeStaticMethod
class# "main" (into-array [(into-array String '~args)]))
class# "main" ^"[Ljava.lang.Object;" (into-array [(into-array String '~args)]))

;; If the symbol didn't resolve, give a reasonable message
(= :not-found ns-flag#)
Expand Down