Commit graph

222 commits

Author SHA1 Message Date
Phil Hagelberg
b5ed74c619 Merge pull request #564 from technomancy/issue512
Issue512
2012-05-09 14:51:18 -07:00
Nils Grunwald
2bf458b7a2 added -o as an alias 2012-05-09 23:31:12 +02:00
David Santiago
36120d8224 Make merge-profile private and convert found uses of it to merge-profiles. 2012-05-09 12:33:36 -07:00
David Santiago
a7707f0fff Fix formatting of lein-core/project test. 2012-05-09 12:29:32 -07:00
David Santiago
0f07df9f4c Add tests for unmerge-profiles and merging anonymous profiles through merge-profiles. 2012-05-09 11:23:30 -07:00
David Santiago
af618379a9 Fix merge-profile, which was incorrectly appending to the :included-profiles meta. 2012-05-09 11:23:12 -07:00
David Santiago
3fe6650a19 Fix bugs in unmerge-profiles. Add a test for unmerge-profiles. 2012-05-09 03:00:13 -07:00
David Santiago
482680ad24 Make add-profiles work even when there is no without-profiles metadata. Add a test for add-profiles. 2012-05-09 02:36:27 -07:00
David Santiago
53fb5cbf52 Update profiles-for to accept both keywords and direct maps. 2012-05-09 02:01:29 -07:00
David Santiago
155d32aef5 Add unmerge-profiles function. 2012-05-09 00:53:57 -07:00
David Santiago
6bbf4fc5d6 Return merge-profile to a public function, instead make it record the map it merges in the :included-profiles metadata. 2012-05-09 00:34:26 -07:00
David Santiago
1a8c9211dc Add add-profiles function. 2012-05-09 00:07:42 -07:00
Phil Hagelberg
de4c3b5d69 Friendlier error message when deps can't be found. Fixes #546. 2012-05-07 17:31:22 -07:00
David Santiago
262c669b26 Make merge-profile private. 2012-05-07 17:10:44 -07:00
Phil Hagelberg
6543bde5d9 Remove "checksum" verbiage from when-stale. 2012-05-07 17:04:41 -07:00
Phil Hagelberg
10a0da1991 Remove a layer of quoting in the when-stale files. 2012-05-07 17:03:12 -07:00
Phil Hagelberg
f6a4ba53ae Don't re-extract native deps unless deps have changed. Fixes #535.
Also introduces the when-stale helper function which should be useful
in other cases as well.
2012-05-07 16:29:31 -07:00
Phil Hagelberg
5cbe443560 Allow URL scheme to be omitted in $http_proxy.
Seems like most tools allow this to be omitted, so we should probably
follow suit.
2012-05-07 11:49:18 -07:00
Nelson Morris
3e1afa892e Bump pomegranate for http deploy fixes 2012-05-06 14:37:20 -05:00
Jacek Laskowski
c3a6ee0a9f Issue #559: Provide leiningen-version function 2012-05-04 20:56:22 +02:00
Phil Hagelberg
7a04b5b5c2 Ignore user profiles in classpath tests. Fixes #550.
May need a more global approach to this problem.
2012-04-29 17:30:35 -07:00
Phil Hagelberg
cdf0642dc8 Merge pull request #549 from hugoduncan/feature/add-fallback-for-lein-home
Add fallback for LEIN_HOME environment variable
2012-04-29 17:27:24 -07:00
Hugo Duncan
2c47d3aed6 Add fallback for LEIN_HOME environment variable
When using leiningen-core outside of lein, LEIN_HOME, which is set be the lein shell wrapper,
is not set. Fall back to using the system property for user.home to calculate the lein
home directory
2012-04-29 09:18:54 -04:00
Hugo Duncan
ccd3f58465 Decouple init-project from l.c.project/read
Reading a project should be side affect free. init-project modifies the current
classloader (and possible installs a new context classloader), so should not be
part of leiningen.core.project/read.
2012-04-29 09:07:51 -04:00
Phil Hagelberg
afc7df8e7e Don't set environment to empty map by default. 2012-04-25 11:29:43 -07:00
Phil Hagelberg
4b63f9a953 Make the environment for subprocesses check a dynamic map. 2012-04-24 16:10:17 -07:00
Phil Hagelberg
1faf0eedb4 Bump version of ordered to avoid locked version range. 2012-04-24 16:10:17 -07:00
Chas Emerick
18d58964d5 test for init-project 2012-04-24 13:27:07 -04:00
Chas Emerick
b1ae6b0758 load plugins, middleware, hooks, etc after merging profiles in with-profile 2012-04-24 13:27:07 -04:00
Phil Hagelberg
5f5c0cdbab Fix native-path and repl test failures. 2012-04-18 21:51:50 -07:00
Phil Hagelberg
b99b57a3d5 Clarify that :password and :passphrase are used by different repositories.
[ci skip]
2012-04-17 22:14:53 -07:00
Phil Hagelberg
fed8eb6241 Merge pull request #532 from kenrestivo/ce788c934159183eaaec2f3a9d841a862e791d52
Maven repos seem to want "password" not "passphrase"
2012-04-17 22:09:40 -07:00
Phil Hagelberg
9e83fc3f95 Bump to Clojure 1.4.0. 2012-04-17 22:07:04 -07:00
Phil Hagelberg
e04f1bee9b Move :native-path to under target/ dir. 2012-04-17 22:04:29 -07:00
Chas Emerick
3da949b538 avoid NPE when searching for "Suppressed exit" 2012-04-17 07:59:52 -04:00
ken restivo
ce788c9341 maven wants password not passphrase 2012-04-16 22:32:44 -07:00
Phil Hagelberg
55935d01e9 Remove "bundled mode" from bin/lein. 2012-04-12 11:50:11 -07:00
Phil Hagelberg
030632acf6 Bump back to snapshot. 2012-04-12 10:37:34 -07:00
Phil Hagelberg
a95f990227 Release 2.0.0-preview3. 2012-04-12 10:18:32 -07:00
Phil Hagelberg
344a4658b0 Fix :offline? project key to have question mark. 2012-04-12 10:04:54 -07:00
Phil Hagelberg
de2ded08a7 Don't shutdown agents when exit is suppressed. 2012-04-12 10:04:12 -07:00
Phil Hagelberg
d17654bacd Ensure deps are calculated in prep. Fixes #433 for real. 2012-04-10 17:25:50 -07:00
Nelson Morris
4ffde4c655 Bump pomegranate; fixes #491 2012-04-10 13:28:46 -05:00
Chas Emerick
a4821e0c79 don't call pomegranate/can-modify? 2012-04-09 18:53:39 -04:00
Phil Hagelberg
81652f9161 news/todos 2012-04-09 12:18:06 -07:00
Phil Hagelberg
13a6b10d90 Make help task look up argument in aliases map. 2012-04-09 11:54:29 -07:00
Phil Hagelberg
0a5d1edd8b Remove last vestiges of exit-code-as-return-value. Fixes #510. 2012-04-09 11:48:32 -07:00
Phil Hagelberg
49dcb03ecf Don't warn of profile merge conflicts when the classes match. 2012-04-07 12:40:14 -07:00
Phil Hagelberg
5206f9315b Automatically activate offline profile when needed. Fixes #478. 2012-04-07 12:40:14 -07:00
Nelson Morris
3076100706 Handle global exclusions in all dependency cases. Fixes #498
Also remove global exclusion handling in pom generation, otherwise
it would generate 2 exclusion tags.
2012-04-04 19:02:54 -05:00