Michael Klishin
04c784c1aa
Clarify leiningen-core installation instructions
...
Currently `leiningen-core` needs to be installed using lein1.
Resolves #757 .
2012-08-30 00:28:37 +04:00
Phil Hagelberg
e9e11309aa
Don't suppress stack traces unless it was an explicit exit thrown.
2012-08-29 09:42:14 -07:00
Phil Hagelberg
a29bc0c248
Echo $LEIN_JAR path in self-install. Fixes #753 .
2012-08-28 12:01:37 -07:00
Phil Hagelberg
b2a50ffe97
Clarify usage of .lein-classpath during plugin development. Fixes #750 .
2012-08-28 11:22:11 -07:00
Phil Hagelberg
b5ea5a0f09
Normalize format of :deploy-repositories and :plugin-repositories too.
...
Fixes #752 .
2012-08-28 09:15:21 -07:00
Colin Jones
1843348d12
Bump reply version for a few issues
...
Duplicate printing on reader errors, moving to the official & now
up-to-date jline, and explicitly using System/out & System/in.
2012-08-27 20:04:10 -05:00
Michael Klishin
2b4b60a797
Merge pull request #749 from Adirelle/patch-1
...
Have lein.bat use local .lein-classpath.
2012-08-26 11:59:49 -07:00
Adirelle
7c927202b9
Have lein.bat use local .lein-classpath.
...
This should fix issue #718 .
2012-08-26 21:40:21 +03:00
Phil Hagelberg
c08d4aa2dd
Stupid bash typo.
2012-08-25 18:55:02 -07:00
Phil Hagelberg
287150a0e9
News updates
2012-08-25 18:43:27 -07:00
Phil Hagelberg
f633c90164
Back to 2.0.0-SNAPSHOT. Next release will be RC1, for reals.
2012-08-25 18:41:32 -07:00
Phil Hagelberg
3b1924e538
Release 2.0.0-preview10.
2012-08-25 16:49:21 -07:00
Phil Hagelberg
3de5208a8e
Load plugins based on default project so :repositories are available.
...
Fixes #747 .
2012-08-25 16:44:46 -07:00
Phil Hagelberg
3106e21459
Fix warn-user-repos for new :repositories format.
2012-08-25 16:39:25 -07:00
Phil Hagelberg
59303f8101
Consistently explain how to set insecure HTTP_CLIENT in bin/lein.
2012-08-25 14:46:03 -07:00
Phil Hagelberg
de9560332c
Make nrepl listen on 127.0.0.1 by default. Fixes #748 .
2012-08-25 14:08:52 -07:00
Phil Hagelberg
e29418dc58
Bump back to 2.0.0-SNAPSHOT.
2012-08-24 17:26:00 -07:00
Phil Hagelberg
88f00af830
Release 2.0.0-preview9.
2012-08-24 17:02:17 -07:00
Phil Hagelberg
231daa65e2
news updates.
2012-08-24 16:55:06 -07:00
Phil Hagelberg
4a33371e76
Merge pull request #746 from llasram/provided-profile
...
Document :provided profile
2012-08-24 12:17:17 -07:00
Marshall T. Vandegrift
be6f571104
Document :provided profile.
2012-08-24 08:34:22 -04:00
Marshall T. Vandegrift
da5e9721d7
Include :dev profile before :provided, giving :dev priority.
2012-08-24 07:46:13 -04:00
Phil Hagelberg
b4cc744efd
Merge remote branch 'llasram/provided-profile'
2012-08-23 14:49:32 -07:00
Phil Hagelberg
037cc96941
Perform de-duplication on :repositories.
2012-08-23 14:35:25 -07:00
Phil Hagelberg
b5a193d331
Switch :repositories to vector format to preserve ordering.
...
See http://librelist.com/browser/leiningen/2012/8/17/ordering-issues-with-repositories/
for motivation.
2012-08-23 14:34:58 -07:00
Justin Balthrop
72969e7e55
forgot to switch plugin-vars calls to pass keywords
2012-08-23 13:31:30 -07:00
Marshall T. Vandegrift
6ded97f3d3
Include :provided profile when building JAR.
2012-08-23 16:31:21 -04:00
Justin Balthrop
ff5524bdf1
support disabling autoload of plugin hooks and middleware
2012-08-23 13:29:37 -07:00
Justin Balthrop
09e5f60684
remove unnecessary is inside of are expression
2012-08-23 13:17:20 -07:00
Justin Balthrop
99a7bfcea0
Fix #742 , explicit middleware load error
...
Don't call set-profiles from leiningen.core.project/read because it
calls load-middleware, and we want to wait to do that for the first time
in init-project. To solve this, I added init-profiles which is called by
both read and set-profiles.
Also clean up init-project and move code duplicated in set-profiles into
activate-middleware. We now always load hooks and certificates when
activating middleware, and load-certificates is actually called twice in
the course of init-project. To make sure load-certificates is
idempotent, we memoized leiningen.core.ssl/register-scheme.
2012-08-23 12:43:14 -07:00
Justin Balthrop
d7488b2bf9
add breaking test for #742
2012-08-23 12:39:44 -07:00
Marshall T. Vandegrift
f416ad9481
Implement Maven "provided" scope with :provided profile.
2012-08-23 14:33:42 -04:00
Justin Balthrop
cc7d759c10
use (get project key) to be consistent
2012-08-23 11:31:00 -07:00
Phil Hagelberg
d4acd839fd
Stop using project metadata for storing trampoline forms.
2012-08-23 10:56:59 -07:00
Justin Balthrop
69d3f80150
documentation for automatic plugin hooks and middleware
2012-08-22 15:35:21 -07:00
Justin Balthrop
aff5243920
unify :hooks and :middleware format in project.clj
...
Both now expect a full var, though hooks will fall back to activate in
the provided namespace for compatibility.
Also, use the following convention for plugin auto hooks and middleware:
- Assuming your plugin is called lein-config
- Put hooks you want auto-loaded in lein-config.plugin/hooks
- Put middleware you want auto-applied in lein-config.plugin/middleware
2012-08-22 13:17:27 -07:00
Phil Hagelberg
1ef883a408
set-profiles it is. and it's a high-level operation.
2012-08-22 12:08:02 -07:00
Phil Hagelberg
2348b6b619
Fix with-profile task to work from the base project rather than being additive.
2012-08-22 12:04:17 -07:00
Phil Hagelberg
f6e5959e7c
Fix with-profiles to work outside project dir.
2012-08-22 11:59:51 -07:00
Phil Hagelberg
8e15d2ded5
Document profile merge logic a bit.
2012-08-22 11:41:04 -07:00
Phil Hagelberg
00ee950ef9
Load hooks inside reset-profiles. Fixes #740 .
2012-08-22 11:40:51 -07:00
Phil Hagelberg
4a6953c881
Rename with-profiles to reset-profiles.
...
with-profiles is too close to the task name, especially considering
the with-profile task is aliased to with-profiles.
2012-08-22 11:31:25 -07:00
Phil Hagelberg
d590f0ca1e
Trim long lines in sample.project.clj.
2012-08-22 11:19:21 -07:00
Chas Emerick
dbb7ca8de9
* upgrade to nREPL 0.2.0-beta9
...
* :nrepl-* configuration moved under :repl-options
* :nrepl-middleware now takes advantage of descriptors in middleware metadata
2012-08-22 13:47:35 -04:00
Phil Hagelberg
19ed0ea0b6
Fix out-of-project repls.
2012-08-22 10:42:57 -07:00
Phil Hagelberg
a04be9b655
Don't store prep blocker on project metadata.
2012-08-22 10:02:55 -07:00
Phil Hagelberg
cc16a95a59
Collapse load-hooks into one doseq.
2012-08-22 10:01:57 -07:00
Phil Hagelberg
9b22d6cdd7
The newnew plugin lives in default-profiles, not the default project.
2012-08-22 09:32:16 -07:00
Justin Balthrop
6cf023e101
rename reset-profiles to with-profiles
2012-08-21 18:46:09 -07:00
Justin Balthrop
badeefc6db
fix unmerge-profiles to work with composite profiles
...
Previously, you could not unmerge composite profiles. So, if the
currently active profiles were [:default], which is a composite of
[:dev :user :base], then (unmerge-profiles project :dev) would do
nothing. To fix this, we have to keep track of both :included-profiles
and :excluded-profiles.
I also combined apply-profiles and reset-profiles into a single function
called reset-profiles with an optional excluded-profiles argument and
renamed apply-profiles-raw to apply-profiles.
2012-08-21 18:20:49 -07:00