licenser / lein-search Goto Github PK
View Code? Open in Web Editor NEWA lein plugin that allows searching, and adding dependencies from clojars.
License: Eclipse Public License 1.0
A lein plugin that allows searching, and adding dependencies from clojars.
License: Eclipse Public License 1.0
# lein-search Lein search allows searching and adding of dependencies on clojars through a simple command line interface. ## Usage lein update-repo (update local clojar index - this is cached to save bandwith) lein search <regexp> (searches clojars for this regexp) lein add [-d|--dev] <artifact> (allows you to add a artifact to your development dependencies) lein add <artifact> (allows you to add a artifact to your dependencies) lein update (updates all artifacts in your deps, asking for each one if you'd like it) artifact syntax: lein-search - latest stable official release (as in [lein-search/lein-search "whatever is latest stable"]) lein-search "1.0.0-SNAPSHOT" - one specific version of the official release org.clojars.wuschel/lein-search - a non official release, and it's latest stable org.clojars.wuschel/lein-search "42.2.3" - a non official release, and it's latest stable ## License Copyright © 2009 Heinz N. Gies. This code is published under the EPL, have fun! See LICENSE.html for the booring stuff. ## Thanks Big thanks to purcell@github for a bunch of improvements and cleanup in the code.
Getting this error with lein-search "0.3.4" in my profiles.clg plugins.
$ lein add hiccup
Warning: *default-encoding* not declared dynamic and thus is not dynamically rebindable, but its name suggests otherwise. Please either indicate ^:dynamic *default-encoding* or change the name. (clojure/contrib/duck_streams.clj:72)
Warning: *buffer-size* not declared dynamic and thus is not dynamically rebindable, but its name suggests otherwise. Please either indicate ^:dynamic *buffer-size* or change the name. (clojure/contrib/duck_streams.clj:78)
Warning: *byte-array-type* not declared dynamic and thus is not dynamically rebindable, but its name suggests otherwise. Please either indicate ^:dynamic *byte-array-type* or change the name. (clojure/contrib/duck_streams.clj:83)
Warning: *append-to-writer* not declared dynamic and thus is not dynamically rebindable, but its name suggests otherwise. Please either indicate ^:dynamic *append-to-writer* or change the name. (clojure/contrib/duck_streams.clj:146)
Warning: *lein-dir* not declared dynamic and thus is not dynamically rebindable, but its name suggests otherwise. Please either indicate ^:dynamic *lein-dir* or change the name. (lein_search/core.clj:8)
java.lang.RuntimeException: EOF while reading
at clojure.lang.Util.runtimeException (Util.java:221)
clojure.lang.LispReader.read (LispReader.java:168)
clojure.core$read.invoke (core.clj:3477)
clojure.core$read.invoke (core.clj:3475)
clojure.core$read.invoke (core.clj:3473)
lein_search.core$read_clj.invoke (core.clj:52)
lein_search.core$read_clojars_cache.invoke (core.clj:162)
lein_search.core$find_clojar.invoke (core.clj:168)
leiningen.add$add.doInvoke (add.clj:28)
clojure.lang.RestFn.invoke (RestFn.java:425)
clojure.lang.Var.invoke (Var.java:383)
clojure.lang.AFn.applyToHelper (AFn.java:156)
clojure.lang.Var.applyTo (Var.java:700)
clojure.core$apply.invoke (core.clj:626)
leiningen.core.main$partial_task$fn__6071.doInvoke (main.clj:253)
clojure.lang.RestFn.applyTo (RestFn.java:139)
clojure.lang.AFunction$1.doInvoke (AFunction.java:29)
clojure.lang.RestFn.applyTo (RestFn.java:137)
clojure.core$apply.invoke (core.clj:626)
leiningen.core.main$apply_task.invoke (main.clj:303)
lein_environ.plugin$write_env_to_file.invoke (plugin.clj:11)
clojure.lang.Var.invoke (Var.java:394)
clojure.lang.AFn.applyToHelper (AFn.java:165)
clojure.lang.Var.applyTo (Var.java:700)
clojure.core$apply.invoke (core.clj:626)
robert.hooke$compose_hooks$fn__11692.doInvoke (hooke.clj:40)
clojure.lang.RestFn.applyTo (RestFn.java:137)
clojure.core$apply.invoke (core.clj:624)
robert.hooke$run_hooks.invoke (hooke.clj:46)
robert.hooke$prepare_for_hooks$fn__11697$fn__11698.doInvoke (hooke.clj:54)
clojure.lang.RestFn.applyTo (RestFn.java:137)
clojure.lang.AFunction$1.doInvoke (AFunction.java:29)
clojure.lang.RestFn.invoke (RestFn.java:436)
leiningen.core.main$resolve_and_apply.invoke (main.clj:309)
leiningen.core.main$_main$fn__6136.invoke (main.clj:377)
leiningen.core.main$_main.doInvoke (main.clj:366)
clojure.lang.RestFn.invoke (RestFn.java:421)
clojure.lang.Var.invoke (Var.java:383)
clojure.lang.AFn.applyToHelper (AFn.java:156)
clojure.lang.Var.applyTo (Var.java:700)
clojure.core$apply.invoke (core.clj:624)
clojure.main$main_opt.invoke (main.clj:315)
clojure.main$main.doInvoke (main.clj:420)
clojure.lang.RestFn.invoke (RestFn.java:457)
clojure.lang.Var.invoke (Var.java:394)
clojure.lang.AFn.applyToHelper (AFn.java:165)
clojure.lang.Var.applyTo (Var.java:700)
clojure.main.main (main.java:37)
I think "lein search lucene" should be case insensitive and match Lucene.
Hello,
I use lein-search frequently and it works well but
Thanks
I was trying to show my co-workers how cool lein-search is for discovering new libraries through Clojars, but they're experiencing some problems, because swank-clojure-1.1.0 has a missing dependency (clojure-1.1.0-SNAPSHOT no longer exists).
Any chance of removing that broken swank-clojure dependency? Now that Leiningen has plugins, it seems like editor-specific dependencies like swank-clojure belong in user-level plugins, rather than forcing those dependencies on everyone who uses the project (I actually don't use Emacs - blasphemous, I know).
Thanks for your consideration!
Colin
clojure.contrib is in general (http://dev.clojure.org/display/community/Where+Did+Clojure.Contrib+Go)
From the page:
clojure.contrib.duck-streams mostly migrated to clojure.java.io,
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.