Commit graph

3313 commits

Author SHA1 Message Date
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
Phil Hagelberg
45c7af9f69 Roll back profile-scoped target path for now.
Discussion of rationale on mailing list.
2013-08-17 21:48:21 -07:00
Phil Hagelberg
95bdc72f80 Add :exclusions to :base deps to avoid version conflict warnings. 2013-08-17 21:10:58 -07:00
Phil Hagelberg
be0db75e5e Memoize pedantic-print-(ranges|overrides) by stringifying up front.
Fixes #1290.
2013-08-17 21:10:58 -07:00
Jean Niklas L'orange
ba89580dcb Merge pull request #1297 from kumarshantanu/master
fix #1150 https://github.com/technomancy/leiningen/issues/1150
2013-08-17 10:31:29 -07:00
Shantanu Kumar
3bf58be3cb fix #1150 https://github.com/technomancy/leiningen/issues/1150 2013-08-17 03:21:39 +05:30
Phil Hagelberg
40a63eee2e Merge pull request #1293 from kumarshantanu/master
fix https://github.com/technomancy/leiningen/issues/1292
2013-08-16 09:24:17 -07:00
Shantanu Kumar
c17d75c30b fix https://github.com/technomancy/leiningen/issues/1292 2013-08-15 18:13:44 +05:30
Aleksandar Simic
fff3757d46 Better error messages for the namespace argument
Work around when the first arg is -1

When seemingly valid arguments are given for non existent classes,
return a meaningful error message.
2013-08-15 00:37:25 +01:00
Phil Hagelberg
b3c694a5a4 Warn for projects which rely on implicit :aot via :main.
Suggest putting :aot in :uberjar profile.
2013-08-13 18:57:51 -07:00
Phil Hagelberg
53d1828076 Re-enable implicit :aot via :main.
Fixes #1289.
2013-08-13 18:57:03 -07:00
Phil Hagelberg
47c04773f4 Add :aot :all to uberjar profile of app template. 2013-08-13 18:52:53 -07:00
Phil Hagelberg
e624a768d3 Release 2.3.1 2013-08-13 04:28:39 +00:00
Phil Hagelberg
dea28d447a Update NEWS. 2013-08-13 04:13:04 +00:00
Phil Hagelberg
4b099af5d1 Improve coverage of profiles in tutorial and profiles doc. 2013-08-12 17:15:40 -07:00
Phil Hagelberg
81389cf20c Leave :provided out of target-isolation calculation paths altogether. 2013-08-12 16:43:39 -07:00
Phil Hagelberg
824552e449 Support disabling :monkeypatch-clojure-test. 2013-08-12 16:43:18 -07:00
Phil Hagelberg
d661b1846a Typo.
[ci skip]
2013-08-11 19:57:33 -07:00
Phil Hagelberg
b39adc9e8d Support downgrade as alias to upgrade. 2013-08-11 09:14:51 -07:00
Phil Hagelberg
1b4d1b345c Refer to checkout-deps-paths as a var instead of a raw fn.
Might fix #1286.
2013-08-10 18:17:39 -07:00
Phil Hagelberg
2fa70b0678 Merge pull request #1285 from sharms/master
Update lein to detect an empty HTTP_CLIENT variable prior to attempting ...
2013-08-10 08:25:34 -07:00
Steven Harms
27e65f8b0b Update lein to detect an empty HTTP_CLIENT variable prior to attempting to download 2013-08-09 20:58:39 -04:00
Phil Hagelberg
d25c22af3a Special-case the :provided profile. Again.
Fixes #1283.
2013-08-09 12:57:06 -07:00
Phil Hagelberg
9d93cdd19e Automate upload of uberjar and signature in bin/release. 2013-08-09 10:24:31 -07:00
Jean Niklas L'orange
288ca9aa6f 2.3.0-SNAPSHOT -> 2.4.0-SNAPSHOT 2013-08-09 14:33:31 +02:00
Jean Niklas L'orange
597c844d59 Merge pull request #1280 from samaaron/patch-1
Move down_load_failed_message before all usages
2013-08-09 01:22:33 -07:00