Phil Hagelberg
a42c5521f4
Move Tiered Compilation to LEIN_JVM_OPTS and document.
...
Fixes #1111 .
2013-03-28 11:04:13 -07:00
Joe Littlejohn
802e666f14
Add support for no_proxy environment variable
...
Closes #816 .
2013-03-28 17:47:46 +00:00
Toby Crawley
86e6cd88b4
GPG doc updates.
...
This includes:
* publishing to a keyserver
* revocation
* setting the default signing key via lein
2013-03-28 13:25:31 -04:00
Jean Niklas L'orange
51a2e1e625
Add tests for IObj vs. non IObjs merging.
2013-03-27 20:20:53 +01:00
Jean Niklas L'orange
664da4a3df
Allow IObjs to be cmp. to non IObjs when merging.
...
Fixes #1110 .
2013-03-27 20:20:15 +01:00
Jean Niklas L'orange
c42bb2a2c0
Only try to open file when needed in lein-version.
...
(This should fix the breaking tests.)
2013-03-27 19:38:15 +01:00
Jean Niklas L'orange
0f9b8bfc31
Fix #1103 by bumping stencil dependency.
2013-03-27 18:53:38 +01:00
Marko Topolnik
dfac3ce369
Tests for repl
2013-03-27 16:52:58 +01:00
Marko Topolnik
df28990173
Fix missing args in connect-string
2013-03-27 16:51:56 +01:00
Marko Topolnik
73fefe211b
More reordering + make testable fns public
2013-03-27 15:03:07 +01:00
Marko Topolnik
92266208bf
Extract connect-string function
2013-03-27 14:45:41 +01:00
Marko Topolnik
c32bb26c20
Reorder defs
2013-03-27 14:45:24 +01:00
Phil Hagelberg
b42a4d89f4
Merge pull request #1109 from pyr/patch-1
...
Provide a default version for leiningen
2013-03-26 19:15:47 -07:00
Pierre-Yves Ritschard
dc3cade47c
Fetch version from pom.properties
...
After clarifying things with @technomancy, it makes more sense
to pull the version from the already provisionned pom.properties
file.
2013-03-27 00:37:24 +01:00
Pierre-Yves Ritschard
ea0b00a199
Provide a default version for leiningen
...
For odd cases where leiningen is called without the wrapper shell script, any occurence of `:min-lein-version` will throw an exception since `leiningen-version` will return nil.
This fixes jenkinsci/leiningen-plugin#1 for instance.
I see two other ways to fix this:
- have the version be propagated from project.clj directly, through substitution
- let leiningen-version return a string that always passes or always fails (not sure which is best) the `:min-lein-version` requirement
2013-03-26 23:54:21 +01:00
Jean Niklas L'orange
f36518c535
Merge pull request #1108 from gaverhae/global-vars
...
Add way to set! global vars through :global-vars.
2013-03-26 15:09:08 -07:00
Gary Verhaegen
c65d2f510d
Change sample project file for global vars
...
Change sample.project.clj to reflect the new way to set global variables (see ticket #1107 ).
2013-03-26 22:22:52 +01:00
Gary Verhaegen
57f2228fbb
Add way to set global vars (*assert*, *warn-on-reflection*, etc.) through config key :global-vars.
2013-03-26 21:54:27 +01:00
Marko Topolnik
90828744b5
Major rework to properly honor options
2013-03-26 14:57:02 +01:00
Marko Topolnik
807086204f
Minor style improvements
2013-03-26 14:55:14 +01:00
Marko Topolnik
69a858ec6c
:require clojure.string + improve readability
2013-03-26 10:49:41 +01:00
Marko Topolnik
8ca2699b27
Nicer opt-port
2013-03-26 10:12:14 +01:00
Jean Niklas L'orange
dba0815138
Add guard rails for lein new
newline handling.
2013-03-26 03:05:11 +01:00
Jean Niklas L'orange
4e77b0d3d5
Change line endings for lein new
on Windows.
...
Fixes #1061 .
This also incorporates the new environment variable
LEIN_NEW_UNIX_NEWLINES, for people who prefer to have '\n' as their
newline on non-unix operating systems.
2013-03-26 02:45:44 +01:00
Phil Hagelberg
6919a90521
Merge pull request #1101 from technomancy/improve-update-in
...
Allow ":" as root path for update-in
2013-03-25 16:00:50 -07:00
Colin Jones
8bf417a0d0
Make slurp-resource 2.0.0-compatible again
...
closes #1102
2013-03-25 17:31:17 -05:00
Marko Topolnik
6219224d79
Remove diagnostic println
2013-03-25 18:28:52 +01:00
Marko Topolnik
b5fcebe7a7
Allow ":" as root path for update-in
2013-03-25 18:14:16 +01:00
Michael Klishin
62e4c6f2c8
Merge pull request #1100 from josephwilk/doc-typos
...
Correcting typos in docs
2013-03-25 05:22:25 -07:00
Joseph Wilk
9bae13f1f3
Correcting typos in docs
...
It's no longer newnew.
2013-03-25 13:17:48 +01:00
Marko Topolnik
c8210a1de7
Fix support for specifying host and potn
2013-03-25 11:26:35 +01:00
Phil Hagelberg
4a5032f111
Reorganize most of repl.clj.
2013-03-24 15:40:08 -07:00
Phil Hagelberg
76dcd9c01d
Move repl dependencies to dev profile. Fixes #1076 .
2013-03-24 15:36:33 -07:00
Phil Hagelberg
9043e3b5c7
Fix repl test.
2013-03-24 14:19:33 -07:00
Marko Topolnik
5ec92783ad
update-in: simplify splitting of args
2013-03-24 20:50:36 +01:00
Phil Hagelberg
321b42b091
Merge pull request #1098 from mtopolnik/fix-1095
...
Fix for Issue #1095
2013-03-24 11:40:27 -07:00
Marko Topolnik
0244378844
For :headless just call start-server
...
Fixes #1093
2013-03-24 19:05:26 +01:00
Marko Topolnik
e02e33881a
Remove unused fn args
2013-03-24 19:05:20 +01:00
Marko Topolnik
32b718d0d6
Reorder defns as needed to compile
2013-03-24 19:05:16 +01:00
Marko Topolnik
2dee14007d
Simplify signature of start-server
2013-03-24 19:05:07 +01:00
Phil Hagelberg
160666ca3d
Merge pull request #1094 from mtopolnik/remove-warn-chaining
...
Consider removing warn-chaining
2013-03-23 20:18:51 -07:00
Phil Hagelberg
82bb6a4c93
Merge pull request #1095 from mtopolnik/delete-dup
...
Delete duplicate code in core/main
2013-03-23 17:12:02 -07:00
Marko Topolnik
64dec29c14
Remove warn-chaining
2013-03-23 22:46:37 +01:00
Marko Topolnik
41f5641dfc
Delete duplicate code
2013-03-23 17:15:02 +01:00
Jean Niklas L'orange
6a70dc3236
Update messages for bootstrapping lein in scripts.
...
ref #1089 .
2013-03-23 14:54:59 +01:00
Michael Klishin
b654e354f6
Merge pull request #1090 from djpowell/win-path-quoting
...
Fix for incorrect escaping of parameters on Windows
2013-03-23 06:42:03 -07:00
David Powell
b097e3fc2c
Fix for incorrect escaping of parameters on Windows
...
fixes #863 - exception when running lein check
2013-03-23 13:33:20 +00:00
Colin Jones
d2a6fbdee8
Recover gracefully from compile-erroring init-ns
...
closes trptcolin/reply#106
2013-03-22 23:15:09 -05:00
Phil Hagelberg
1ed9ce5f22
Don't use backtick in error messages.
...
Fixes #1089 .
2013-03-22 13:44:21 -07:00
Phil Hagelberg
764ae67e4a
Clarify that ~/bin is only a good choice if it's on the path.
...
We could still link to an overview of the PATH if unix newbies get confused.
2013-03-22 09:26:59 -07:00