Thanks a lot! I had to try this before putting question in list but
something is glitching in my head!
On Wednesday, January 15, 2014 11:04:13 AM UTC+2, Thomas Heller wrote:
>
> Hi,
>
> lein run -m my-ns.cmd/migrate
>
> when
>
> (ns my-ns.cmd)
>
> (defn migrate [& args])
>
> Just use the normal
Hi,
lein run -m my-ns.cmd/migrate
when
(ns my-ns.cmd)
(defn migrate [& args])
Just use the normal clojure ns/var notation.
HTH,
Thomas
On Wednesday, January 15, 2014 9:59:20 AM UTC+1, Ruslan Prokopchuk wrote:
>
> What is idiomatic way to run functions as CLI commands with lein?
> Smth. like
On Dec 24, 5:06 am, Marek Kubica wrote:
> Thanks a lot, hope the bugfix will get pulled soon :)
Just merged it in; thanks for reporting.
-Phil
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups
On Fri, 24 Dec 2010 23:54:30 +1100
Alex Osborne wrote:
> I think this is a bug. I've sent Phil a pull request with a proposed
> fix:
>
> http://github.com/ato/leiningen/commit/3f299cc560dbf7101c44a08d98da4177d6f326cc
Yep, bendlas in #clojure helped me to diagnose. Great that you have a
fix alr
Marek Kubica writes:
> My project is currently quite simple. The program needs a single
> argument, filename, to read from. So I added a :main entry into
> project.clj and started
>
> $ lein run
>
> this took some time and crashed with an exception, because I did not
> specify a file. Well, that
>> We have talked about adding a run task;
>> if you're interested we could even get it in for the 1.0.0 release.
I'd definitely like to see that. Right now my deployment sequence looks like:
lein compile
lein uberjar
java -jar myapp-standalone.jar
I imagine "lein run" should be able to execute
On Dec 6, 12:40 am, Phil Hagelberg wrote:
> Zach Tellman writes:
> > If that's what it takes, great. Someone just needs to define what a
> > multi-platform JNI package looks like. I'm willing to go along with
> > whatever is decided upon by technomancy et al.
>
> I don't think this is necessaril
Zach Tellman writes:
> If that's what it takes, great. Someone just needs to define what a
> multi-platform JNI package looks like. I'm willing to go along with
> whatever is decided upon by technomancy et al.
I don't think this is necessarily within the scope of leiningen
itself; it should be
On Dec 2, 12:38 pm, David Nolen wrote:
> Yeah it sounds like you'll need to package up JOGL 2 and push it to Clojars
> right?
>
>
>
> On Wed, Dec 2, 2009 at 3:20 PM, Zach Tellman wrote:
> > On Dec 1, 3:31 pm, David Nolen wrote:
> > > So just to keep the conversation going:
>
> >http://download.j
Yeah it sounds like you'll need to package up JOGL 2 and push it to Clojars
right?
On Wed, Dec 2, 2009 at 3:20 PM, Zach Tellman wrote:
> On Dec 1, 3:31 pm, David Nolen wrote:
> > So just to keep the conversation going:
> >
> >
> http://download.java.net/maven/2/net/java/dev/gluegen/http://downl
On Dec 1, 3:31 pm, David Nolen wrote:
> So just to keep the conversation going:
>
> http://download.java.net/maven/2/net/java/dev/gluegen/http://download.java.net/maven/2/net/java/dev/jogl/
>
> I note that these two maven repos specify the platform with the following:
>
> lib-{platform}-{arch}
>
>
So just to keep the conversation going:
http://download.java.net/maven/2/net/java/dev/gluegen/
http://download.java.net/maven/2/net/java/dev/jogl/
I note that these two maven repos specify the platform with the following:
lib-{platform}-{arch}
where platform is:
macosx
linux
windows
arch is:
u
On Dec 1, 8:15 am, David Nolen wrote:
> On Tue, Dec 1, 2009 at 1:10 AM, Phil Hagelberg wrote:
> > David Nolen writes:
>
> > > The problem is that JOGL needs JNIs and JNIs need to be on
> > > java.library.path or java.ext.dirs, not the classpath. In order to
> > > make life easier for people lear
On Tue, Dec 1, 2009 at 1:10 AM, Phil Hagelberg wrote:
> David Nolen writes:
>
> > The problem is that JOGL needs JNIs and JNIs need to be on
> > java.library.path or java.ext.dirs, not the classpath. In order to
> > make life easier for people learning about clojure as well generally
> > making
On Tue, Dec 1, 2009 at 12:16 AM, Alex Osborne wrote:
> Hi David,
>
> David Nolen wrote:
> > So my Java ignorance once again rears it's ugly head. It turns out
> > that JNI dynamic libs can't really be part of a .jar.
>
> I can't say I know much about JNI but I've used some libraries like
> SQLite
David Nolen writes:
> The problem is that JOGL needs JNIs and JNIs need to be on
> java.library.path or java.ext.dirs, not the classpath. In order to
> make life easier for people learning about clojure as well generally
> making lein projects simpler to play around for newbies do people see
> an
Hi David,
David Nolen wrote:
> So my Java ignorance once again rears it's ugly head. It turns out
> that JNI dynamic libs can't really be part of a .jar.
I can't say I know much about JNI but I've used some libraries like
SQLiteJDBC and Qt Jambi which bundle the native libraries in the jar, so
th
17 matches
Mail list logo