Phil Hagelberg
41c85ead1b
Unify exit code handling with ex-info.
2012-07-17 21:11:37 -07:00
Justin Balthrop
9f6f1cc78f
read profiles from PROJECT_ROOT/profiles.clj
...
This is useful as a place to put profile information that you don't
want committed. e.g. deployment server lists, passwords, etc...
2012-07-17 19:14:21 -07:00
Bruce Adams
94729fac33
Add aliases for -help and -version
...
This is helps people coming from the Java world. "java" accepts -help
and -version, and neither --help nor --version. With this commit,
Leiningen accepts long names with either single or double dashes.
2012-07-12 08:35:29 -04:00
Bruce Adams
20c266a60d
"aliases" need not be an atom, now it isn't
2012-07-12 08:31:31 -04:00
Bruce Adams
ff1476a50d
Remove redundant "help" aliases
2012-07-12 07:51:45 -04:00
Phil Hagelberg
066b557e97
Merge remote-tracking branch 'Moocar/prep-tasks'
...
Conflicts:
leiningen-core/src/leiningen/core/eval.clj
2012-07-11 17:12:14 -07:00
Bruce Adams
d233dc64fb
Intercept "help" after task name, issue #629
2012-07-11 19:45:29 -04:00
Phil Hagelberg
7a812270d9
Auto-detect wagons from plugins.
2012-07-09 16:32:45 -07:00
Anthony Marcar
1dab145352
prep-tasks handles both strings and vectors
2012-07-08 23:10:21 -07:00
Anthony Marcar
5b73ce321b
added prep-tasks which allows prep tasks to include args
2012-07-08 22:13:05 -07:00
Phil Hagelberg
4beeb70d1c
Allow successive eval-in-project calls with trampoline. Fixes #665 .
2012-07-08 13:47:44 -07:00
Phil Hagelberg
4c4502aacd
Formatting of chaining warning.
2012-07-03 22:37:32 -07:00
Phil Hagelberg
36856e4fad
Drop back to 2.0.0-SNAPSHOT, hopefully for the last time.
2012-06-27 16:54:31 -07:00
Phil Hagelberg
811e974174
Release 2.0.0-preview7.
2012-06-27 16:45:13 -07:00
Phil Hagelberg
a6659e15fa
Documentation, news, todo updates.
2012-06-27 16:06:48 -07:00
Phil Hagelberg
c79349d568
Add clojars to default :deploy-repositories.
2012-06-27 15:07:09 -07:00
Phil Hagelberg
7de4e12f4b
Look up aliases in prep and trampoline.
2012-06-27 10:32:57 -07:00
Phil Hagelberg
5775c6a2b8
Allow user-level repositories which contain credentials only.
2012-06-27 10:10:45 -07:00
Michael S. Klishin
1d2674ab11
Add an example to the warning about task chaining
...
This may or may not matter in interactive use but for upgrading users on travis-ci.org it will
save some confusion.
2012-06-27 12:03:33 +04:00
Phil Hagelberg
70695f5868
Work with latest pomegranate deploy-artifacts signature.
2012-06-26 17:31:36 -07:00
Phil Hagelberg
2fffac4854
Deploy signatures along with jars and poms.
...
Currently depends on pomegranate branch:
https://github.com/cemerick/pomegranate/pull/27
2012-06-26 17:31:36 -07:00
Phil Hagelberg
f00c985d4e
Use both built-in :leiningen/test profile and :test profile in test task.
2012-06-25 16:33:28 -07:00
Phil Hagelberg
5618a861d6
Don't decrypt credentials.clj.gpg for every request. Fixes #657 .
2012-06-25 13:59:30 -07:00
Phil Hagelberg
a32abdf51c
Plumb through mirror support to pomegranate. Fixes #271 .
...
Won't actually be visible until pomegranate is bumped to 0.0.13.
2012-06-25 11:08:59 -07:00
Phil Hagelberg
519d793b5f
Make problems loading project.clj explicit. Fixes #648 .
2012-06-24 21:56:19 -07:00
Phil Hagelberg
de751e97d7
Pull in latest lein-newnew.
2012-06-22 20:47:20 -07:00
Phil Hagelberg
b7c6a63fd5
Qualify implicit ::test profile. Fixes #659 for real, hopefully.
2012-06-22 13:19:46 -07:00
Phil Hagelberg
9a04a356a5
Move hooke injection to :test profile. Fixes #659 .
2012-06-22 11:26:49 -07:00
Phil Hagelberg
8d5b8698bd
Honor :classifier and :extension when de-duping deps.
...
Fixes #645 .
2012-06-18 20:09:59 -07:00
Phil Hagelberg
93a7042f47
Fix when-stale invocation for native extraction. Fixes #647 .
2012-06-18 15:49:14 -07:00
Phil Hagelberg
2185d3809c
Remove faked out exit code.
2012-06-18 15:41:51 -07:00
Jacek Laskowski
03d4411da5
Fix for Issue #589 lein 2 leaves 'stale' directories all over the place
2012-06-18 23:16:33 +02:00
Phil Hagelberg
7a2bd4dd2a
Move tiered compilation out of profiles and injections into them.
2012-06-15 10:48:41 -07:00
Phil Hagelberg
c263783455
Turn :bootclasspath off by default; too many issues for now.
2012-06-15 10:48:26 -07:00
Phil Hagelberg
a581b006fb
Turn off bootclasspath for projects using 1.2.
...
Won't help if it's an indirect dependency forced by version ranges though.
2012-06-14 16:28:37 -07:00
Phil Hagelberg
80fa274979
Use bootclasspath inside eval-in-project. Fixes #639 .
2012-06-13 21:42:55 -07:00
Phil Hagelberg
d8d5ca15bf
Move user-agent to its own function; make it match lein version
more.
2012-06-13 10:02:53 -07:00
Phil Hagelberg
9f6934487e
Merge pull request #637 from bruceadams/master
...
Set "Leiningen" User-Agent in http requests for issue #636
2012-06-13 09:57:25 -07:00
Phil Hagelberg
6e78141f4a
Don't assume all args are strings; can have partial aliases.
2012-06-13 09:12:49 -07:00
Bruce Adams
977ba3d160
Fix messed up order of os.name os.version for #636
2012-06-13 09:44:51 -04:00
Bruce Adams
93d651c41f
Enhanced User-Agent string #636
2012-06-13 09:30:58 -04:00
Bruce Adams
d1b1ddc819
Set "Leiningen" User-Agent in http requests for issue #636
2012-06-13 08:08:32 -04:00
Phil Hagelberg
d960cb91b7
Allow leiningen.core.eval/sh to work with rebound *out* and *err*.
2012-06-11 18:45:29 -07:00
Phil Hagelberg
1da790ed78
Bump back to 2.0.0-SNAPSHOT.
2012-06-11 18:45:00 -07:00
Phil Hagelberg
e62275369a
Exclude .DSA files too.
2012-06-10 15:06:14 -07:00
Phil Hagelberg
d66451a4fd
Move hooke injections to default profile.
2012-06-09 22:10:29 -07:00
Phil Hagelberg
1be0c5edb9
Move task chaining to do task. Fixes #632 .
2012-06-09 21:48:23 -07:00
Phil Hagelberg
90e8fc609f
Consistent use of leiningen-version function.
2012-06-09 21:17:39 -07:00
Phil Hagelberg
858f26e29b
Todo updates.
2012-06-09 21:10:00 -07:00
Phil Hagelberg
dcb5aea2ce
Remove left-over use of integer error code in classloader eval.
2012-06-09 21:09:39 -07:00