Re: leiningen plugins and scripting

2010-01-01 Thread Phil Hagelberg
Saul writes: > Hello, > I'm moving a small project over from maven built scala to leiningen > built clojure. One of the features that was available with the maven > scala plugin was the ability to run scala scripts: > > mvn scala:script -DscriptFile=scripts/build_db.scala > > This is useful for

Re: leiningen plugins and scripting

2009-12-31 Thread Zef Hemel
I had exactly the same problem. It would be nice if we could add directories/jars to the classpath somehow. I noticed the repl task does this, but it's hacked into the lein script, which is a shame. A script plug-in would also require the adaptation of the classpath, so you could branch leiningen

leiningen plugins and scripting

2009-12-30 Thread Saul
Hello, I'm moving a small project over from maven built scala to leiningen built clojure. One of the features that was available with the maven scala plugin was the ability to run scala scripts: mvn scala:script -DscriptFile=scripts/build_db.scala This is useful for doing project specific tasks