Commit graph

3388 commits

Author SHA1 Message Date
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
Sam Aaron
8263dfca40 Move down_load_failed_message before all usages 2013-08-09 08:30:47 +01:00
Phil Hagelberg
ac33004a92 Bump back to snapshot. 2013-08-08 20:16:54 -07:00
Phil Hagelberg
aeaca0cbd7 Release 2.3.0 2013-08-08 20:10:42 -07:00
Phil Hagelberg
f32ea06bae NEWS updates. 2013-08-08 14:46:49 -07:00
Phil Hagelberg
d12e7b1343 Fix pom tests. 2013-08-08 14:30:13 -07:00
Phil Hagelberg
328b2182b0 Normalize profiles before excluding; fixes #1267.
Note that :dev, :test, and :base still belong in the pom, but with
dependencies/paths scoped as <test>.
2013-08-08 14:00:01 -07:00
Phil Hagelberg
13fe3db660 Allow -main to operate on project.clj files not in original cwd. 2013-08-08 12:01:08 -07:00
Phil Hagelberg
c46b6c93ff Add :eval-in :pprint for debugging Leiningen and plugins. 2013-08-08 12:01:08 -07:00
Phil Hagelberg
2f684415df Save off project into an atom when trampolining for later use.
This will break when you do crazy stuff like:

    $ lein trampoline do with-profile production compile, repl

but it's better than the old behaviour.

Fixes #1277.
2013-08-08 12:01:08 -07:00
Phil Hagelberg
b0db412dd7 Merge pull request #1278 from fredericksgary/issue-1276
Issue #1276: cleanup wrong-arg-num err msg on 0-arg tasks
2013-08-05 13:28:01 -07:00
Gary Fredericks
5a089b8e18 Issue #1276: cleanup wrong-arg-num err msg on 0-arg tasks
0 arg task arglist was printing as `""` since passing `[project]` to
`next` resulted in `nil` which prints as `""`. Used `(comp vec next)`
instead to force it into `[]` which prints as `"[]"`.
2013-08-05 15:07:41 -05:00
Phil Hagelberg
257cb470e1 Typo fix. 2013-08-04 21:20:26 -07:00
Phil Hagelberg
dc92429602 Support literal strings in :clean-targets. 2013-08-04 13:27:58 -07:00
Phil Hagelberg
b3f1e8baac Merge pull request #1275 from kohyama/issue1272
Issue #1272: Add :clean-targets option
2013-08-04 13:27:12 -07:00
Yoshinori Kohyama
c3a60886f3 Issue #1272: Add :clean-targets option
Add :clean-targets option to let `lein clean` remove files under
directories other than one specified by :target-path
2013-08-04 18:46:16 +09:00
Phil Hagelberg
b03aa79cfa Merge pull request #1271 from fredericksgary/issue-1269
Issue 1269
2013-08-01 09:09:55 -07:00
Gary Fredericks
7c6cc0e8c3 Minor cleanup from PR feedback 2013-08-01 10:17:36 -05:00
Phil Hagelberg
aa9af873f6 Merge pull request #1270 from manandbytes/oraclejdk7
Enable Oracle's JDK7
2013-07-31 22:08:11 -07:00
Phil Hagelberg
3743c71c97 Include licenses and readmes in jar.
Fixes #880.
2013-07-31 22:02:38 -07:00
Phil Hagelberg
7e7a38e332 Suggest using profiles to change project map in PLUGINS.md.
Also clarify that auto-loaded hooks are only checked in :plugins.

Fixes #1258.
2013-07-31 22:02:16 -07:00
Gary Fredericks
08eaf70781 #1269: Skip tests differently when using :test-selectors
The old method skipped tests by adding a hook to
clojure.test/test-var, the problem being that :each fixtures
associated with the test have already run at that point, which is
unideal.

This change skips test by removing their :test metadata before running
the tests at all, which causes clojure.test to not see it as a test.

We use ns-interns to enumerate the vars, the same way clojure.test
does.
2013-07-31 23:29:19 -05:00
Gary Fredericks
239fd8d727 Refactor a couple reduces into a couple somes
I think it's a little simpler this way.
2013-07-31 23:11:26 -05:00
Phil Hagelberg
9f9ab003cd Oops; typo. 2013-07-30 21:00:52 -07:00
Phil Hagelberg
0f8d67d2e3 Remove dependency on "useful" library for packaging purposes.
This dependency pulls in a number of other dependencies which we don't
use but which are difficult for downstream packagers to deal with.

Include our own version of map-vals (because seriously, why is this
not already part of Clojure) and update-first (because re-forming
those problems without it crazy convoluted). But our implementation is
a fair bit shorter because it doesn't have to handle all the edge
cases.
2013-07-30 20:57:56 -07:00
Phil Hagelberg
36ce822b0c Merge pull request #1268 from babilen/dev/new-license
Add LICENSE file to project templates
2013-07-30 09:32:35 -07:00