Commit graph

3355 commits

Author SHA1 Message Date
Laurent Petit
c28f03a092 Optional msg argument to leiningen.core.main/exit. Use it for abort.
- New signature: leiningen.core.main/exit [exit-code & msg]
- msg used when *exit-process?* is false as the Exception message
2014-02-07 08:42:35 +01:00
Phil Hagelberg
b15c5666d1 Propagate eval-in-project exit code in run task to lein's process. 2014-02-06 11:37:00 -08:00
Phil Hagelberg
ae15ef0034 Merge pull request #1434 from jcrossley3/patch-1
Only exit if there are errors
2014-02-02 11:31:19 -08:00
Jim Crossley
638b710acb Only exit if there are errors
Otherwise, parent processes can't continue.
2014-02-02 10:56:33 -05:00
Phil Hagelberg
c50c7ee8bc Merge pull request #1432 from jcrossley3/filespec-dirs
Filter out directories matching readme/license prefix
2014-01-31 08:24:55 -08:00
Jim Crossley
9e598e1674 Filter out directories matching readme/license prefix 2014-01-30 19:12:07 -05:00
Jean Niklas L'orange
f2008d38ca Merge pull request #1431 from hura/patch-1
Update TUTORIAL.md
2014-01-28 18:57:23 +01:00
hura
83a120d70e Update TUTORIAL.md
AOT abbreviations is now explained
2014-01-28 12:35:40 -05:00
Marshall Bockrath-Vandegrift
a38f3903cf Also expand the built-in default profiles. 2014-01-28 06:20:10 -05:00
Phil Hagelberg
195b723df8 Merge pull request #1430 from mblair/add-new-app-files
mention all files created by the project generator
2014-01-27 15:53:12 -08:00
Matt Blair
b35aa83874 mention all files created by the project generator 2014-01-27 13:17:38 -08:00
Jean Niklas L'orange
c845d45377 Merge branch 'decompose-profiles' 2014-01-27 16:33:04 +01:00
Jean Niklas L'orange
ecb7ed0e77 Decompose with-profile args not containing +/-. 2014-01-27 16:31:34 +01:00
Marshall Bockrath-Vandegrift
8bd6b8fb53 Fix #1421 by decomposing profiles into collections of atomic profiles. 2014-01-27 15:54:05 +01:00
Phil Hagelberg
22d3880e08 Fix a bug where show-profiles was stripping profile namespaces. 2014-01-24 14:54:52 -08:00
Phil Hagelberg
5458cefa51 Merge pull request #1425 from technomancy/lower-http-timeout-1096
Lower read time out for wagon-http
2014-01-24 14:45:41 -08:00
Marshall Bockrath-Vandegrift
466902da96 Handle bultitude returning full ns form instead of just symbol. 2014-01-24 13:36:21 -05:00
Max Prokopiev
49dd9536c8 Lower read time out for wagon-http
Fixes #1096
2014-01-24 22:00:05 +04:00
MerelyAPseudonym
b366c85b56 Fix "singing"/"signing" typo. 2014-01-22 16:39:13 -05:00
Jean Niklas L'orange
63ab148227 Rename sample alias to something sensible.
[ci skip]
2014-01-21 13:01:52 +01:00
Phil Hagelberg
19c49bd2ab Don't use /tmp when LEIN_FAST_TRAMPOLINE is enabled.
Fixes #1396.
2014-01-20 17:36:19 -08:00
Phil Hagelberg
5726335f6f Revert "Fall back to defn-level help summaries if ns-level are not found."
This reverts commit 0c47e54b9e.
2014-01-20 14:29:52 -08:00
Phil Hagelberg
ff403992e4 Update plugin guide. 2014-01-20 10:49:21 -08:00
Phil Hagelberg
0c47e54b9e Fall back to defn-level help summaries if ns-level are not found. 2014-01-20 10:49:14 -08:00
Phil Hagelberg
93a2ffa85d Merge remote-tracking branch 'DavidEGrayson/lein_faster'
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2014-01-20 09:49:11 -08:00
David Grayson
bde2e864d5 Merge pull request #1 from ryantm/patch-1
update bultitude dependency to 0.2.5
2014-01-19 14:25:51 -08:00
Ryan Mulligan
8a274d9039 update bultitude dependency to 0.2.5
0.2.5 incorporates the changes to bultitude that @davidegrayson's changes depend on, so we need to have leiningen depend on that version now.
2014-01-17 18:05:11 -08:00
Phil Hagelberg
919bf67d8d Merge pull request #1413 from laurentpetit/issue-1412
Add nREPL URL to output along side the human readable message
2014-01-09 13:48:25 -08:00
Laurent Petit
672d204ddb Add nREPL URL to output along side the human readable message 2014-01-09 22:41:34 +01:00
Jean Niklas L'orange
b497494b04 Merge pull request #1408 from drewnoakes/docs/tutorial
Updated TUTORIAL.md for Leiningen 2.3.4

[ci skip]
2014-01-07 10:58:36 -08:00
Drew Noakes
9291140e2e Updated TUTORIAL.md for Leiningen 2.3.4.
Updated `project.clj` file output created by `lein new app`.

Updated references to clojure 1.4.0 with clojure 1.5.1 (current stable release.)

Updated banner text displayed by `lein repl`.

Updated output of unit tests.

Updated command required to run a single unit test as the name is different in the current `app` template.
2014-01-07 18:53:16 +00:00
Jean Niklas L'orange
06594e6fcd Merge branch 'properly-init-profiles' 2014-01-07 14:05:53 +01:00
Jean Niklas L'orange
3d50e8c9ba Properly initialize read profiles.
Fixes #1407, fixes #1376.
2014-01-07 14:02:55 +01:00
Jean Niklas L'orange
a0c65e9ec1 Properly setup profiles within project map. 2014-01-07 13:51:10 +01:00
Jean Niklas L'orange
9131b52b0b Drag out common map setup functionality. 2014-01-07 12:58:23 +01:00
Jean Niklas L'orange
a579ccd750 Remove dead :jvm-opts lookup
Coming from the 57ea876ddd cleanup
2014-01-07 02:08:21 +01:00
Jean Niklas L'orange
613a33b578 Pull out empty meta-merge defaults. 2014-01-07 02:00:53 +01:00
Jean Niklas L'orange
36ebbc27be Load plugins and activate middleware in update-in.
Fixes #1375.
2014-01-06 23:47:43 +01:00
Jean Niklas L'orange
2082daa919 Bump copyright year.
[ci skip]
2014-01-06 22:41:31 +01:00
Phil Hagelberg
49d405cf5d Revert "Rely less on undocumented features"
This reverts commit 9adc966aef.
2014-01-06 11:58:58 -08:00
Michael Klishin
243a9918f9 Merge pull request #1406 from frenchy64/patch-1
Rely less on undocumented features
2014-01-02 08:16:56 -08:00
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
David Grayson
6577d59c85 RyanTM and I reduced the run time of the 'lein help' command
by making it just parse the task source code files instead of actually
requiring/compiling them (second try).

This results in a 70% speed improvement on my machine (14s to 4s).
2013-12-20 11:41:53 -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