I'm trying to get the smallest uberjar as possible. Currently I have a
bunch of dependencies for compiling server resources (clojurescript,
garden...) that are required at compile-time, but don't have to be in the
uberjar. How can I create an uberjar without bundling these resources?
Thanks!
Hi Dylan,
Yes, that's right. This is validation for the bidi route structure itself.
For now, I've left it open to the bidi user whether and when to use route
validation (although I may add it to modular in due course as you point out)
Libraries that use ring-swagger,
The past few teams I've been on have used variously S3, Nexus, and
Artifactory, and I wasn't especially happy with any of them. I think there
is a sweet spot of usability (for small/medium teams) and technical
capability that hasn't really been achieved by anything available. Of
what's
On Tuesday, June 30, 2015 at 8:05:32 AM UTC-4, Karan Toor wrote:
I was having some trouble understanding the difference syntax quoting and
regular quoting. I thought syntax quoting was like regular quoting except
for the unquoting, splicing, and resolving symbols in the namespace.
When I
http://annapawlicka.com/travis-ci-and-clojurescript-tests/ is probably
a more relevant basic guide.
On Tuesday, June 30, 2015, Nathan Marz nat...@nathanmarz.com wrote:
I'm trying to get Specter's tests running under ClojureScript. I can run
the tests manually in a REPL just fine, but I cannot
Dunno if this can help you:
https://github.com/lprefontaine/clara-rules/blob/master/project.clj
I run tests with :
lein cljsbuild test-cljs
If I my memory is not fooling me.
There might be a better way but this is what I had time to tweak this weekend.
You need to setup phantomjs, etc...look
I figured out a way to do it by manually launching a ClojureScript REPL,
writing a test runner script, and then invoking that script at the REPL,
like so: https://github.com/nathanmarz/specter/blob/cljs/DEVELOPER.md
Still wondering if there's a more straightforward way to do this.
On Tuesday,
I was having some trouble understanding the difference syntax quoting and
regular quoting. I thought syntax quoting was like regular quoting except
for the unquoting, splicing, and resolving symbols in the namespace.
When I apply either the regular quote or the syntax quote twice I get
Yagni ignore `cljs` files.
I have opened an issue here: https://github.com/venantius/yagni/issues/26
On Thu, Jun 25, 2015 at 1:53 AM, W. David Jarvis venant...@gmail.com
wrote:
Indeed. I'd argue it's better not to have unused code in the codebase in
the first place, regardless of what the
You could try setting the :scope for the dependencies - I'm not sure if
uberjar does the right thing there or not but seems like it should.
On Tuesday, June 30, 2015 at 3:56:31 AM UTC-5, Robin Heggelund Hansen wrote:
I'm trying to get the smallest uberjar as possible. Currently I have a
If you are using Leiningen, try putting those dependencies in a
:provided profile - see
https://github.com/technomancy/leiningen/blob/master/doc/PROFILES.md#default-profiles.
I interpret that to mean they won't be included in the uberjar, but
haven't tested to confirm.
- Toby
On Tue, Jun 30,
My understanding is that those dependencies should go into the dev
profile, which won't be included in the uberjar.
On Tue, Jun 30, 2015 at 4:56 AM, Robin Heggelund Hansen
skinney...@gmail.com wrote:
I'm trying to get the smallest uberjar as possible. Currently I have a
bunch of dependencies
I tried the following, but didn't seem to have any effect:
[org.clojure/clojurescript 0.0-3211 :scope provided]
tirsdag 30. juni 2015 16.02.50 UTC+2 skrev Alex Miller følgende:
You could try setting the :scope for the dependencies - I'm not sure if
uberjar does the right thing there or not
We are pleased to announce the release of Clojure 1.7.
- Download: https://repo1.maven.org/maven2/org/clojure/clojure/1.7.0/
- Leiningen: [org.clojure/clojure 1.7.0]
The two headline features for 1.7 are transducers and reader conditionals.
Also see the complete list (
Nice.
It would be really cool if run-yagni was a pure function of source-paths
and mains. This would make the dependency on lein optional and allow
adoption on e.g. mainland Java projects.
Stu
On Tue, Jun 30, 2015 at 5:44 AM, Yehonathan Sharvit vie...@gmail.com
wrote:
Yagni ignore `cljs`
You'll have to bump instaparse versions:
https://github.com/clojure-emacs/refactor-nrepl/issues/53
On Tue, Jun 30, 2015 at 12:57 PM Robert Beaupre codewise.rob...@gmail.com
wrote:
Is anyone else getting the following error with 1.7.0 when running lein
repl? All I did was change from 1.6.0 to
Is anyone else getting the following error with 1.7.0 when running lein
repl? All I did was change from 1.6.0 to 1.7.0.
#error {
:cause Wrong number of args (2) passed to: StringReader
:via
As Clojure 1.7 is finally released, I tried to wet my feet with
transducers.
I tried eduction example from official site http://clojure.org/transducers
but it's not working:
user= (def xf (comp (filter odd?) (map inc)))
#'user/xf
user= (def iter (eduction xf (range 5)))
#'user/iter
user=
The example is wrong. There are now two flavors of support for reduce
through interfaces, IReduce and IReduceInit. The first one allows you to
call reduce without an initial value. Eduction doesn't support that
interface, but only IReduceInit. Reduce without an initial value is now
Yep, that's my bug in the example. Will fix, sorry.
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your
first post.
Thanks. Looks like it was in Compojure - linked to at the bottom of the
page you sent over: https://github.com/bhauman/lein-figwheel/issues/161
On Tuesday, 30 June 2015 10:01:01 UTC-7, Gary Trakhman wrote:
You'll have to bump instaparse versions:
Yep. Got the same error, found the same fix. Was impressed at how easy it
was to fix. (Seriously, compared to most upgrades I've had to do in my
life...)
On Tue, Jun 30, 2015 at 10:13 AM, Robert Beaupre codewise.rob...@gmail.com
wrote:
Thanks. Looks like it was in Compojure - linked to at the
+1. Neither S3 or Archiva have worked out well for us long term.
On Monday, June 29, 2015 at 6:50:44 PM UTC-7, Daniel Compton wrote:
Hi folks
I wondered if one possible solution for ensuring Clojars long-term
viability and maintenance would be to use it to host private repositories
for
I think my company would be willing to pay a reasonable fee for private
Clojars repos, on something like the Github model? Not sure what the lein
overhead would be, I know grabbing Datomic Pro from non-Clojars with creds
is a motherf@#@#ing pain in the ass at times (but only in comparison to the
This is being done now with npm: https://www.npmjs.com/. Cost is $7/mo,
which seems reasonable.
On Tuesday, June 30, 2015 at 12:00:55 PM UTC-7, Jason Lewis wrote:
I think my company would be willing to pay a reasonable fee for private
Clojars repos, on something like the Github model? Not
Update: thanks to a comment at the bottom of one of the files in the
clojurescript project
https://github.com/clojure/clojurescript/blob/master/src/main/clojure/cljs/closure.clj#L1828,
I think I know how to fix this. Instead of a list, I should have used a
vector. I don't know why this works,
Also, your last error (about in-ns) is from an incompatible version of
clj-time, not joda-time.
By the way, this has nothing to do with interop, it's straight dependency
management on the jvm.
Concerning FD's solution of classloaders, you'll also jave to figure out a
way to package the different
I'm trying to get Specter's tests running under ClojureScript. I can run
the tests manually in a REPL just fine, but I cannot figure out a
straightforward way to run all the tests like you can in Clojure with lein
test.
Here are the tests I'm trying to run, which are a mix of tests defined
using
Clojars is pretty much a one man show right now, but it currently
requires little time to maintain, and works fairly well. If it
supported private repos, the maintenance and support time would go up
considerably, and it would require some sort of business entity around
it. Doing that has been
Is anyone interested in filing a bug against IBM JDK 1.8.0 where it appears
that its JIT compiler fails about half of the time when doing 'mvn clean
test' in a Clojure 1.7.0 source tree?
You can find some attachments in an earlier message of this thread that can
get you started, but producing
30 matches
Mail list logo