Commit graph

3388 commits

Author SHA1 Message Date
Jim Crossley
bd008f800e Fallback to .nrepl-port for 'repl :connect' subtask 2013-10-01 15:18:25 -04:00
Jean Niklas L'orange
ab7f332797 Merge in better error messages for -m in lein run. 2013-09-29 20:07:49 +02:00
Jean Niklas L'orange
f39b4b7c38 More descriptive error message for nonexistant ns.
Closes #1257.
2013-09-29 20:02:17 +02:00
Jean Niklas L'orange
10adf535d3 Better error message for bad -m args. 2013-09-29 18:57:52 +02:00
Jean Niklas L'orange
ee685611da Merge pull request #1332 from jconti/master
Fix typo in lein template invocation command.
2013-09-21 07:01:22 -07:00
John Conti
40caa932fe Fix typo in lein template invocation command. 2013-09-21 07:08:35 -06:00
Phil Hagelberg
1ee77bade7 Warn when nrepl dependency isn't found. Fixes #1330. 2013-09-19 10:51:02 -07:00
Phil Hagelberg
6853a511f9 Don't warn about user profiles when running outside a project. 2013-09-19 10:40:59 -07:00
Phil Hagelberg
d3facea5a2 Use profile-scoped targets in app template. 2013-09-19 10:39:30 -07:00
Phil Hagelberg
4e5d8d2a5e Use more descriptive local name. 2013-09-19 10:39:30 -07:00
Phil Hagelberg
d37195b877 Fix tutorial repl message. Addresses #1317. 2013-09-19 10:39:30 -07:00
Dominik Dziedzic
bac42c795a Maven plugins are now supported by :pom-plugins to avoid name conflict
with Leiningen :plugins vector. 

Added maven <configuration/> tag inside of plugin definition.

Added usecase of :pom-plugins in sample.project.clj
2013-09-12 01:16:16 +02:00
Dominik Dziedzic
b1529ed8e3 Added support of maven plugins in project.clj.
It's possible to add definition :plugins in project definition.
Example: 
 :plugins [[com.theoryinpractise/clojure-maven-plugin "1.3.13"]
           [org.apache.tomcat.maven/tomcat7-maven-plugin "2.1"]]
2013-09-12 01:02:24 +02:00
Jean Niklas L'orange
c86a69333e Don't add alias-help as public API in lein.help.
Also add in a couple of tests to ensure that aliases print docstrings.
2013-09-07 03:01:06 +02:00
Jean Niklas L'orange
772017d3aa Add alias explanations for lein help task.
Closes #1316.
2013-09-04 22:18:11 +02:00
Jean Niklas L'orange
89f06a49aa Add in a :plugin-tree test. 2013-08-29 15:21:08 +02:00
Jean Niklas L'orange
f2c845a448 Implement lein deps :plugin-tree, closes #1314. 2013-08-29 15:18:39 +02:00
Phil Hagelberg
e5c3aa03b1 Merge pull request #1313 from coventry/clarify-checkout-dependency-usage
Slight clarification to checkout dependency usage
2013-08-28 13:08:03 -07:00
Alex Coventry
aa320f5bc5 lein install may not be needed if lein can find the library in another
repository.
2013-08-28 15:15:38 -04:00
Alex Coventry
cd915ebdaf Slight clarification to checkout dependency usage 2013-08-28 13:20:11 -04:00
Phil Hagelberg
b89ede9c23 Handle stdin for :eval-in :nrepl. 2013-08-27 19:20:58 -07:00
Phil Hagelberg
36a9350ba0 Allow default eval-in dispatch value to be changed with a defmethod. 2013-08-27 19:20:58 -07:00
Jean Niklas L'orange
0fa310859d Remove usage of soon-to-be legacy API in nrepl. 2013-08-28 01:20:54 +02:00
Jean Niklas L'orange
31253d4491 Fix a bug where specified repl host was ignored. 2013-08-27 23:27:04 +02:00
Jean Niklas L'orange
c76ac8d9af Add ^:skip-aot as default for app template.
Elaborate more on when ^:skip-aot will disable compilation. Would be
great to cut out a lot of that documentation for 3.0.0.
2013-08-27 01:54:32 +02:00
Phil Hagelberg
9c5282e0c8 Merge pull request #1312 from kumarshantanu/master
fix #1309 - lein.bat now honors HTTP_CLIENT env var
2013-08-26 09:55:56 -07:00
Shantanu Kumar
c1b21360b9 fix #1309 - lein.bat now honors HTTP_CLIENT env var 2013-08-25 02:34:43 +05:30
Jean Niklas L'orange
400d782272 Reenable java main run test.
Also more changes from use to require.
2013-08-24 17:36:21 +02:00
Jean Niklas L'orange
d00670f27f Delete subdir directory. 2013-08-24 17:12:15 +02:00
Jean Niklas L'orange
ab9271bcef Go from use->require. 2013-08-24 16:56:43 +02:00
Jean Niklas L'orange
cbd9e6b1cb Clean up helper docstrings. 2013-08-24 16:56:29 +02:00
Jakub Holy
ac36df65dc Described *1-*3,*e in repl-welcome
I have learned only by chance about the fact that REPL stores evaluation results in *1 - *3 and the last exception in *e. I am certainly not the only one unaware of this so it would be good to include it in the welcome message.

(For random visitors: they are defined in clojure's [`./src/clj/clojure/main.clj`](https://github.com/clojure/clojure/blob/master/src/clj/clojure/main.clj).)
2013-08-24 11:46:22 +02:00
Phil Hagelberg
762544a661 Fix a bug where *cwd* wasn't honored for project parsing. 2013-08-23 22:05:40 -07:00
Jean Niklas L'orange
d0f4b25e86 Reorder the skip/added file check.
Also document internals and decouple the skip/added file check.
2013-08-21 21:10:45 +02:00
Jean Niklas L'orange
f37bd91678 Merge branch 'jar-directory-entries' of https://github.com/dm3/leiningen 2013-08-21 19:51:45 +02:00
Vadim Platonov
5b97d9a472 fix(jar): Add directory entries to the jar file
According to the [jar file specification](http://docs.oracle.com/javase/7/docs/technotes/guides/jar/jar.html)

> For resource files with non-empty directory prefixes, mappings are also
> recorded at the directory level.  Only for classes with null package
> name, and resource files which reside in the root directory, will the
> mapping be recorded at the individual file level.

If needed, directory entries may be excluded using `:jar-exclusions`
regex like `#"^.*/$"`.
2013-08-21 14:30:10 +03:00
Phil Hagelberg
0a5c616bbd Bump version up to 2.3.3-SNAPSHOT. 2013-08-20 17:42:27 -07:00
Chas Emerick
470f4c6ee1 Release 2.3.2 2013-08-20 16:59:19 -04:00
Chas Emerick
7d7426b143 prepare for 2.3.2 release 2013-08-20 16:55:17 -04:00
Chas Emerick
6045c19d17 use ~/.s3cmd.lein.gpg for upload credentials 2013-08-20 16:54:21 -04:00
Phil Hagelberg
d97ea4ee81 NEWS for 2.3.2. 2013-08-20 13:11:48 -07:00
Phil Hagelberg
1d5f1a0709 Explain profile isolation in FAQ.
[ci skip]
2013-08-20 12:28:28 -07:00
Phil Hagelberg
ad48331f26 Encourage production use of uberjars over lein run in tutorial. 2013-08-20 11:57:49 -07:00
Phil Hagelberg
bb5dc78c35 Discuss idempotency of hooks/middleware in plugin docs. 2013-08-20 11:57:27 -07:00
Phil Hagelberg
278fdb966a Rearrange .gitignore and remove windows line endings. 2013-08-20 11:57:13 -07:00
Phil Hagelberg
41613b54fc Attempt to force Aether to re-check for new versions of templates.
According to preliminary reports on IRC there may be issues where
Aether ignores this directive, but it's best to set it anyway since it
may be fixed in future versions.
2013-08-20 11:57:02 -07:00
Phil Hagelberg
3647c799c4 Mention setting :sign-releases false during deploy. 2013-08-20 11:56:14 -07:00
Phil Hagelberg
5de2f049f1 Add .nrepl-port to template .gitignores.
Ignore all .lein-* files instead of specific ones.

[ci skip]
2013-08-20 07:28:43 -07:00
Phil Hagelberg
25eeb3c6de Write .nrepl-port file in addition to .lein-repl-port. Fixes #1296. 2013-08-20 07:26:27 -07:00
Phil Hagelberg
e50be00e37 Rearrange sample.project.clj. 2013-08-20 07:25:21 -07:00