Trying out la clojure and attempting to run a script

Hi, trying out clojure and la clojure so this is prob something obvious :)

I can run a script from la clojure and it work.

Now if a I have a main entry point in a script such as

(defn -main [& args]

Is it possible to get la clojure to run this via the clojure script run config
or would it have to run via a standard java app mechanism with

clojure.main -m 'entry point'

If it's the latter I assume the files need to be copied with the options or compiled.

Is is possible to compile files using la clojure ? If I copy .clj to the output dir will
this stop leiningen from working correctly on the project at the same time ?


Please sign in to leave a comment.