Larry Staton Jr
1a47f2683e
Add LEIN_SILENT option to suppress *info* output
2013-12-05 17:09:00 -05:00
Phil Hagelberg
12b97749bd
Bump version number back to a snapshot.
2013-11-19 10:05:36 -08:00
Phil Hagelberg
77d659e6ee
Release 2.3.4
2013-11-18 21:59:05 -08:00
Phil Hagelberg
c575b7b82b
Support :keyword args in leiningen.core.main/parse-options.
2013-11-17 09:15:11 -08:00
Phil Hagelberg
cd0066e19f
Suggest exclusions for overrides. Closes #1198 .
2013-11-17 08:56:53 -08:00
Phil Hagelberg
75a80f6951
Clean up dependency-str weirdness of version calculation.
2013-11-16 14:59:33 -08:00
Phil Hagelberg
e78ebb6504
Add exclusion suggestions for version ranges.
2013-11-16 14:43:59 -08:00
Phil Hagelberg
a45e8a5b0f
Move parse-options test, fix typo.
2013-11-16 14:43:59 -08:00
Phil Hagelberg
1f7886c8bb
Move parse-options into leiningen.core.main for general use.
...
Also remove support for single-dashed args.
2013-11-16 14:43:59 -08:00
Phil Hagelberg
23b3477298
Escape classpath separators.
...
Fixes #1328 .
2013-11-14 11:02:06 -08:00
Phil Hagelberg
387db01ac5
Don't print with-profile output when only one profile is invoked.
2013-11-10 08:48:25 -08:00
Marshall Bockrath-Vandegrift
5d64d83fd6
More nuanced merging of project defaults.
2013-10-14 19:59:18 -04:00
Phil Hagelberg
85d3549c14
Bump version up to 2.3.4-SNAPSHOT.
2013-10-09 09:06:18 -07:00
Phil Hagelberg
6a6cecee0f
Release 2.3.3
2013-10-05 15:40:59 -07:00
Marshall Bockrath-Vandegrift
39e3d57ec9
Implement :uberjar-merge-with
requested in issue #973 .
2013-10-05 13:56:57 -04: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
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
Phil Hagelberg
762544a661
Fix a bug where *cwd* wasn't honored for project parsing.
2013-08-23 22:05:40 -07: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
Phil Hagelberg
ad48331f26
Encourage production use of uberjars over lein run
in tutorial.
2013-08-20 11:57:49 -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
Phil Hagelberg
e624a768d3
Release 2.3.1
2013-08-13 04:28:39 +00:00
Phil Hagelberg
81389cf20c
Leave :provided out of target-isolation calculation paths altogether.
2013-08-12 16:43:39 -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
d25c22af3a
Special-case the :provided profile. Again.
...
Fixes #1283 .
2013-08-09 12:57:06 -07: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
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
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
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
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
Jean Niklas L'orange
2324cd21fc
com.hypirion.io 0.3.1 (1.6-compiled)
2013-07-30 16:01:35 +02:00
Jean Niklas L'orange
3c2cd2f5a1
Bump com.hypirion.io to 0.3.0.
2013-07-30 11:19:44 +02:00
Phil Hagelberg
53fdf1c685
Scope :compile-path and :native-path under :target-path.
2013-07-24 20:55:28 -07:00
Phil Hagelberg
962ce20ae9
Scope :compile-path and :native-path under :target-path.
2013-07-24 20:55:23 -07:00
Phil Hagelberg
5b26b89d9c
Support :pedantic? :abort/:warn.
...
Move range/overlap detection into l.c.classpath.
Fixes #1197 .
2013-07-22 18:45:16 -07:00
Jean Niklas L'orange
b540e8ae95
Merge branch 'expand-composite-profiles'
2013-07-20 18:50:34 +02:00
Jean Niklas L'orange
7a935545c4
Don't attach subprofiles to metadata map.
...
Whenever composite profiles were added to project maps, their children
were also attached as active profiles. This confuses `with-profile` and
profile merging task where excluded profiles only remove the name of the
composite profile, not the subprofiles. This allows uberjar to exclude
the default profile without excluding subprofiles, without excluding
active subprofiles themselves.
So these task actions now produce sensible results:
`lein with-profile +dev uberjar` -> uberjar with dev-dependencies, but
without the other default profiles
`lein -U uberjar` -> uberjar with snapshot updates, but not with any
default dependencies added.
Fixes #1233 .
2013-07-20 18:45:07 +02:00
Jean Niklas L'orange
cd8ed45638
Expand composite profiles before removing them.
...
This seem to handle #1233 correctly, but breaks a pom test. I assume
there's some part of the merge logic I've forgotten, so feel free to
peek around and comment on what I've currently done.
2013-07-18 01:45:25 +02:00
Phil Hagelberg
39fa6afb52
Default to recursive checkout deps.
...
Fixes #1190 .
2013-07-16 20:22:09 -07:00
Phil Hagelberg
214fd7c6a2
Empty :*-paths when running outside a project dir.
...
Fixes #1253 .
2013-07-15 13:33:43 -07:00