Commit graph

249 commits

Author SHA1 Message Date
Phil Hagelberg
34eb0a5d22 Use https for clojars. 2012-05-28 13:46:14 -07:00
Phil Hagelberg
6fc245a082 Remove test for init-project.
This function now only does stateful irreversible things that are
difficult to test.
2012-05-27 21:57:47 -07:00
Phil Hagelberg
8a4702c3eb Apply middleware before profiles are merged. Fixes #599. 2012-05-27 21:50:07 -07:00
Phil Hagelberg
742025d084 Re-create compile-path after prepping if necessary. Fixes #596. 2012-05-27 21:15:26 -07:00
Michael Klishin
3e3254e79a Merge pull request #600 from cpmcdaniel/master
Fix for issue #594. Proxy settings now propagating to sub-processes.
2012-05-23 12:55:42 -07:00
Craig McDaniel
9b2584749b Renaming test to better reflect what it is actually testing. 2012-05-22 23:45:30 -04:00
Craig McDaniel
3fbafc7b84 Proxy environment variables are now converted to -Dhttp.proxyHost and
-Dhttp.proxyPort JVM args for subprocesses. Fixes #594.
2012-05-22 23:34:38 -04:00
Bruce Adams
ac5f90243e Create path for jar file entries
I believe this fixes issue 590.
https://github.com/technomancy/leiningen/issues/590
2012-05-22 22:29:08 -05:00
Phil Hagelberg
75c2508387 Fix uberjar exclusion for signature. Fixes #31. 2012-05-21 13:28:47 -07:00
Phil Hagelberg
aee8aaa4f4 Allow :replace/:displace metadata to work on :dependencies entries. 2012-05-21 11:54:48 -07:00
Phil Hagelberg
a9c2f9effe Check :target-path before writing stale file. Fixes #589. 2012-05-18 08:52:23 -07:00
Phil Hagelberg
ad842b591e Skip checkouts that don't define a project. Fixes #580. 2012-05-14 18:46:34 -07:00
Phil Hagelberg
93bb6a1e14 Bump back to 2.0.0-SNAPSHOT. 2012-05-11 18:46:25 -07:00
Phil Hagelberg
104726ee71 Release 2.0.0-preview4. 2012-05-11 18:07:07 -07:00
Phil Hagelberg
625da9aa5c Apply tiered compilation to the project JVM, not just Leiningen's own. 2012-05-11 14:52:52 -07:00
Phil Hagelberg
0217536ffa Fix classpath test. 2012-05-11 14:20:20 -07:00
Phil Hagelberg
c918f53b0f Fix typo. 2012-05-11 14:14:19 -07:00
Phil Hagelberg
54cc378671 Move :checkout-deps-shares to default profile.
This will prevent checkout deps from being used when just the
production profile is active. Also, this may be the first legitimate
use of flatten I've ever seen.
2012-05-11 14:10:22 -07:00
Phil Hagelberg
893dbd4b82 Remove stray printing.
[ci skip]
2012-05-11 13:46:00 -07:00
Phil Hagelberg
7d641026e4 Allow :checksum policy to be set at the top-level of project.clj as well. 2012-05-11 11:44:43 -07:00
Phil Hagelberg
2af8f1fcb8 Add :update profile and -U alias for applying it. 2012-05-11 11:44:42 -07:00
Phil Hagelberg
176bcf5e6d Add :update support at the top-level of the project map. 2012-05-11 11:44:42 -07:00
Phil Hagelberg
0386485b87 Quote lein-newnew in default profile. 2012-05-10 12:05:09 -07:00
Phil Hagelberg
af2bcd1f0f Move lein-newnew plugin to default profile. Fixes #540. 2012-05-10 11:45:02 -07:00
Phil Hagelberg
3ec53df722 Fix tests to not spew out "stale" directories in root. 2012-05-10 11:45:02 -07:00
Phil Hagelberg
df6e39b38a Fix JVM_OPTS with spaces, mostly. Closes #565.
Spaces in opts will still break when a space is followed by a dash.
Use :jvm-opts in profiles if you can.
2012-05-10 11:45:02 -07:00
Phil Hagelberg
2df87f3dda Reword a few things in READMEs, todo tweaks. 2012-05-09 19:22:04 -07:00
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