Commit graph

1965 commits

Author SHA1 Message Date
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
2a0b36700d Merge pull request #568 from juergenhoetzel/master
Performance improvement for bash namespace completion
2012-05-10 11:35:09 -07:00
Phil Hagelberg
1311a43b8f Merge pull request #567 from leonelag/master
Changed lein.bat to find whether it's running from a source checkout.
2012-05-10 11:34:13 -07:00
Leonel Gayard
9af28dfe83 Changed launcher lein.bat to determine whether it's a source checkout by looking for directory 'src' 2012-05-10 10:30:16 -03:00
Juergen Hoetzel
edb1745f32 Improve namespace completion performance
Dont execute a grep command for each single Clojure file: Use exec '+'
variant to search all Clojure files via sed only once.
2012-05-10 11:27:26 +02:00
Phil Hagelberg
2df87f3dda Reword a few things in READMEs, todo tweaks. 2012-05-09 19:22:04 -07:00
Phil Hagelberg
e8ec94cfcd Update NEWS for preview4. 2012-05-09 19:21:32 -07:00
Phil Hagelberg
3afbbb8bcd Make sure cygpath affects LEIN_JAR. 2012-05-09 19:17:37 -07:00
Phil Hagelberg
37460dc32c Remove --update argument to search task.
Deleting your clojars index is something you would want to do often;
deleting your central index is something you never want to do. So
having one command to do both doesn't make sense.
2012-05-09 19:17:14 -07:00
Colin Jones
9bf24fe5e9 Bump reply
Fixes #557
2012-05-09 20:00:08 -05:00
Phil Hagelberg
b5ed74c619 Merge pull request #564 from technomancy/issue512
Issue512
2012-05-09 14:51:18 -07:00
Phil Hagelberg
0a183a7803 Merge pull request #566 from ngrunwald/offline_alias
added -o as an alias
2012-05-09 14:48:21 -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
Phil Hagelberg
27346f0f62 Fix install test. 2012-05-09 11:05:17 -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
9920bd237f Tidy up install task. 2012-05-07 17:32:08 -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
08c1ce6973 Fix deps test to clean whole target dir. 2012-05-07 16:58:33 -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
3826e78989 Fall back to project when :without-profiles is absent in pom.
We kinda need a circular data structure here where the
:without-profiles map has itself on its own :without-profiles
metadata, but alas.
2012-05-07 15:22:37 -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
Mark Baran
b1022fa4b5 Fixed quoting inside generated trampoline command to pass arguments correctly. 2012-05-07 11:45:41 -07:00
Phil Hagelberg
2a6a4e4d00 Fix search test. 2012-05-07 11:37:41 -07:00
Phil Hagelberg
1cbd58179e Quit checking CLASSPATH in lein.bat.
Disclaimer: http://www.buzzize.com/wp-content/gallery/7i_have_no_idea/thumbs/thumbs_i_have_no_idea_01.jpg
2012-05-07 11:25:18 -07:00
Phil Hagelberg
7c86bdbb83 Set CLASSPATH from scratch rather than checking existing value.
This has only ever caused problems.
2012-05-07 11:24:52 -07:00
Michael Klishin
e2e9aa0463 Merge pull request #563 from uvtc/update-deps-docs
Added docs for `lein deps :tree`.
2012-05-07 06:19:49 -07:00
John Gabriele
1914c8328b Added docs for lein deps :tree. 2012-05-06 22:16:26 -04:00
Nelson Morris
3e1afa892e Bump pomegranate for http deploy fixes 2012-05-06 14:37:20 -05:00
Phil Hagelberg
f39c47b8e2 Merge pull request #561 from jaceklaskowski/master
Patch for #559: Provide leiningen-version function
2012-05-04 12:08:41 -07:00
Jacek Laskowski
c3a6ee0a9f Issue #559: Provide leiningen-version function 2012-05-04 20:56:22 +02:00
Phil Hagelberg
c7f78676e0 Clarify that :extensions aren't used by Leiningen. Fixes #555.
[ci skip]
2012-05-03 16:33:19 -07:00
Phil Hagelberg
6d404a8422 Explicitly use bash in bin/lein.
We've done this for a while in 1.x; just moving the change to this branch.
2012-05-03 10:52:15 -07:00
Phil Hagelberg
aa1b11969c Drop the --no-check-certificate argument to wget.
This was necessary early on due to a bug where libssl wouldn't
recognize the specific certificate github was using. If you're stuck
on this old version and are having trouble, try exporting
`HTTP_CLIENT=wget --no-check-certificate -O` to get the old behaviour back.
2012-05-03 10:51:32 -07:00
Phil Hagelberg
5d5f5c13de Clarify group-id in tutorial. 2012-05-03 10:45:41 -07:00
Michael S. Klishin
908c20597e Clarify that group ids are used for namespacing and are optional
But it is not a bad idea to use them, especially for non-OSS libraries
2012-05-01 23:44:36 +04:00
Michael Klishin
9b8195ed33 Merge pull request #552 from marick/tutorial-marick
Tutorial marick
2012-05-01 12:39:02 -07:00
Brian Marick
3c2bf423b5 Fix typo 2012-05-01 14:12:07 -05:00
Mark Baran
e474ad270f Fix for trampoline command parsing on Windows. 2012-04-30 15:25:14 -07:00