Commit graph

3313 commits

Author SHA1 Message Date
Ambrose Bonnaire-Sergeant
9adc966aef Rely less on undocumented features
We simply guard against nil leaking into `merge` or `select-keys`. This does not change semantics.

I caught this with a linter I'm building.
2014-01-02 23:58:22 +08:00
Jean Niklas L'orange
2ba5e31daa Test edit distance function. 2013-12-30 20:11:33 +01:00
Jean Niklas L'orange
c05e102036 Implement Damerau-Levenshtein, closes #1119.
Fetching the keyboard layout seems to be impossible to do within the JVM
without shelling out. It's probably not worth it wrt. portability.
2013-12-30 20:10:16 +01:00
Phil Hagelberg
248362f2e7 Upgrade stencil and exclude core.cache.
Should help avoid conflicts with dependencies that need a different version.
2013-12-20 15:26:22 -08:00
Phil Hagelberg
8c8051c093 Merge pull request #1401 from benwbooth/master
fix DRIP_INIT not being set when LEIN_JAVA_CMD is drip
2013-12-19 21:38:54 -08:00
Ben Booth
b8d5ec1938 fix DRIP_INIT not being set when LEIN_JAVA_CMD is drip 2013-12-19 18:19:23 -08:00
Phil Hagelberg
5afa648224 Merge pull request #1400 from devth/master
Point "great documentation" link to new URL
2013-12-17 09:12:48 -08:00
Trevor Hartman
fb2028b36e Update remaining 2 "great documentation" links 2013-12-17 08:53:36 -07:00
Trevor Hartman
84c1ef8658 Point "great documentation" link to new URL 2013-12-17 08:49:25 -07:00
Phil Hagelberg
eff1dcd9e3 Merge pull request #1399 from sritchie/patch-1
Distinct test directories before requiring
2013-12-13 14:52:42 -08:00
Sam Ritchie
a065c5be47 Distinct test directories before requiring
To prevent unintended side-effects at compile time.
2013-12-13 14:51:50 -08:00
Phil Hagelberg
76a50da53f Merge pull request #1395 from statonjr/master
Add LEIN_SILENT option to supress *info* output
2013-12-05 15:02:41 -08:00
Larry Staton Jr
1a47f2683e Add LEIN_SILENT option to suppress *info* output 2013-12-05 17:09:00 -05:00
Aaron Brooks
f5bea91dda Make "/etc/leiningen" profile inclusion clearer. 2013-12-04 15:54:41 -05:00
Phil Hagelberg
1ce5c2f78b Merge pull request #1383 from dannypurcell/msys-classpath-fix
Fixes classpath issue under msys
2013-12-02 18:55:06 -08:00
Jean Niklas L'orange
f0a31e5d38 Fix minor wording in 'lein new' comments.
[ci skip]
2013-12-02 03:06:30 +01:00
Phil Hagelberg
18c53cedf6 Block upgrades in bin/lein-pkg.
Fixes #1377.
2013-12-01 13:47:00 -08:00
Danny Purcell
bd0ff6dd8c Fixes classpath issue under msys 2013-11-30 10:04:10 -06:00
Michael Klishin
9eb9149707 Merge pull request #1379 from graue/patch-1
Fix typos in sample.project.clj comment
2013-11-29 00:28:41 -08:00
Scott Feeney
41f7a297b4 Fix punctuation in sample.project.clj comment 2013-11-29 00:30:58 -05:00
Phil Hagelberg
7664d18915 Update man page. 2013-11-19 21:03:11 -08:00
Jean Niklas L'orange
3d6550985d Merge pull request #1373 from dentrado/check-version-on-upgrade
Print "already up-to-date" on upgrade if that's the case.
2013-11-19 17:43:35 -08:00
Martin Forsgren
e4807db069 Print "already up-to-date" on upgrade if that's the case. 2013-11-20 00:25:06 +01:00
Phil Hagelberg
12b97749bd Bump version number back to a snapshot. 2013-11-19 10:05:36 -08:00
Phil Hagelberg
77d659e6ee Release 2.3.4 2013-11-18 21:59:05 -08:00
Phil Hagelberg
04133b573a Accept both orderings of args in :show subtask of new. 2013-11-18 20:08:09 -08:00
Phil Hagelberg
c575b7b82b Support :keyword args in leiningen.core.main/parse-options. 2013-11-17 09:15:11 -08:00
Phil Hagelberg
cd0066e19f Suggest exclusions for overrides. Closes #1198. 2013-11-17 08:56:53 -08:00
Phil Hagelberg
75a80f6951 Clean up dependency-str weirdness of version calculation. 2013-11-16 14:59:33 -08:00
Phil Hagelberg
e78ebb6504 Add exclusion suggestions for version ranges. 2013-11-16 14:43:59 -08:00
Phil Hagelberg
a45e8a5b0f Move parse-options test, fix typo. 2013-11-16 14:43:59 -08:00
Phil Hagelberg
1f7886c8bb Move parse-options into leiningen.core.main for general use.
Also remove support for single-dashed args.
2013-11-16 14:43:59 -08:00
Travis Vachon
c0a161c11b Add a flag to allow SNAPSHOT template versions
I'm not really sure how to test this without really going to Clojars. I
have a few templates that could be used to do this testing but feel
weird about adding network calls to the tests.
2013-11-16 14:43:59 -08:00
Travis Vachon
d816ef0d93 Better error messaging when we try to load a broken template 2013-11-16 14:43:59 -08:00
Travis Vachon
1926f12e48 Refactor lein new argument parsing
It was a bit janky and hard to extend. This is maybe still janky, but
very extensible. Win?

We can now easily add new options to this command. I took some pains to
maintain backwards compatibility, even with the undocumented ability to
pass arguments on to templates. The full extent of this syntax isn't
documented in the docstring yet, but I'll expand that once we support
options that expose its darker corners.
2013-11-16 14:43:59 -08:00
Michael Klishin
06c2fb63e2 Merge pull request #1372 from sebasoga/minor_doc_fix
Minor TUTORIAL fix
2013-11-15 15:02:47 -08:00
Sebastian Sogamoso
928fd88542 Minor TUTORIAL fix 2013-11-15 17:58:40 -05:00
Phil Hagelberg
088a05f66f Reformat FAQ.md's markdown to be a little more shell-friendly. 2013-11-14 12:06:51 -08:00
Jean Niklas L'orange
c6d937b377 Clarify order-dependent conflict resolutions.
Closes #1337. [ci skip]
2013-11-14 12:06:51 -08:00
Phil Hagelberg
23b3477298 Escape classpath separators.
Fixes #1328.
2013-11-14 11:02:06 -08:00
Phil Hagelberg
9718597bd4 Update sample.project.clj and NEWS.md. 2013-11-14 11:02:06 -08:00
Colin Jones
529f7fd120 Bump reply version
refs #1288
2013-11-11 15:40:20 -05:00
Phil Hagelberg
7921246b3a Fix typo. 2013-11-11 08:13:32 -08:00
Phil Hagelberg
387db01ac5 Don't print with-profile output when only one profile is invoked. 2013-11-10 08:48:25 -08:00
Jean Niklas L'orange
989e12ebde Retain whitelisted keys for the eval/prep phase.
fb532b0 reverted this issue back on, because the whitelisted keys were
ignored for the prep phase.

Fixes #770.
2013-10-31 02:00:40 +01:00
Michael Klishin
24b18f8a08 Merge pull request #1362 from pashields/patch-1
Update dependency name in profile example
2013-10-30 11:43:16 -07:00
Patrick Shields
81562aefc4 Update dependency name in profile example
It looks like in cab18f6bfe the dependency changed from midje to expectations, but the explanation text still referred to midje.
2013-10-30 14:38:05 -04:00
Jean Niklas L'orange
67aa192c6f Merge in uberjar profile before implicit aot check
Fixes #1358.
2013-10-30 15:55:57 +01:00
Phil Hagelberg
cd22728f21 Clarify java compiler not found message. Fixes #1322. 2013-10-29 17:22:13 -07:00
Phil Hagelberg
df43dc7279 Merge pull request #1361 from technomancy/nested-chains
Support nested `do` chains, remove implicit help.
2013-10-29 17:07:14 -07:00