Compile Scala source from Leiningen.
[lein-scalac "0.1.0"] to
:plugins project.clj. (Or
:dev-dependencies on Leiningen versions earlier than 1.7.0)
:scala-source-paths in project.clj, usually to "src/scala", and
.scala source files in there.
lein scalac to compile them to
If you want
scalac to run automatically, add
For Leiningen 1.x support, need to add
:hooks in project.clj.
If you need runtime features of Scala you'll have to declare a
scala-library like so:
:dependencies [org.scala-lang/scala-library "2.9.1"]
Copyright © 2012 Phil Hagelberg and Scott Clasen
Distributed under the Eclipse Public License, the same as Clojure.