Hi,

Am 13.02.2009 um 23:02 schrieb Stephen C. Gilardi:

the general case, a complete cljc "program" (in my opinion) would need to:

[1] create the dest dir if it doesn't already exist
[2] launch a clojure instance with that dest dir in classpath
[3] compile

I wrote a simple cljc as a bash script. It is based on Stephen's launcher.
It takes two optional parameters:

  -s <path to source>
  -d <destination path for .class files>

They default to src and classes. The destdir is created if it doesn't exist. Though not a per file compiler, it may be useful too just compile a namespace
at the command-line.

Sincerely
Meikel

Attachment: cljc
Description: Binary data


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to