Commit graph

3289 commits

Author SHA1 Message Date
Reid McKenzie
5e0c1c1451 same require update for the app template 2013-03-30 14:42:01 +01:00
Phil Hagelberg
5778bd7c20 Merge pull request #1115 from arrdem/patch-1
update tests template to :require from :use
2013-03-29 21:38:54 -07:00
Reid McKenzie
1b6572246d update tests template to :require from :use 2013-03-29 23:24:25 -05:00
Jean Niklas L'orange
66a6e2b2ef Update docs with semantic change for profiles.d
Ref fa602e807b.
2013-03-30 04:15:52 +01:00
Marko Topolnik
a8506b146a Fix typo in sample project 2013-03-29 14:16:51 +01:00
Marko Topolnik
d2fccebb04 Formatting in test code 2013-03-29 14:09:21 +01:00
Marko Topolnik
0b1b613547 Clarify docstring 2013-03-29 14:07:27 +01:00
Marko Topolnik
de673e44d4 Test options-for-reply 2013-03-29 14:05:37 +01:00
Marko Topolnik
a207900e6b Better error message for unknown subcommand 2013-03-29 14:05:12 +01:00
Marko Topolnik
8eab72155a Fix options-for-reply 2013-03-29 14:04:39 +01:00
Marko Topolnik
e05e28d16e align repl host resolution with port resolution 2013-03-29 14:04:09 +01:00
Marko Topolnik
fcb17b0ab0 Use user/getenv to allow mocking in test 2013-03-29 14:03:45 +01:00
Phil Hagelberg
3c220999c1 Argh; forgot NEWS for 2.1.2. Here it is. 2013-03-28 15:44:33 -07:00
Phil Hagelberg
da76893c23 Back to 2.2.0-SNAPSHOT. 2013-03-28 15:38:43 -07:00
Phil Hagelberg
10d7d1faa3 Release 2.1.2 2013-03-28 14:46:32 -07:00
Phil Hagelberg
d0337ad02a Add a note about testing the repl task. 2013-03-28 14:44:49 -07:00
Phil Hagelberg
952076e822 Use file.separator in pom path relativization.
Fixes #944 I think.
2013-03-28 12:40:11 -07:00
Phil Hagelberg
f8f568bf96 Fix self-install dev heuristic to refuse to operate on a checkout.
Fixes #1106.
2013-03-28 12:21:19 -07:00
Phil Hagelberg
078ff98f3d Merge pull request #1114 from joelittlejohn/system-no-proxy
Add support for no_proxy environment variable
2013-03-28 12:15:57 -07:00
Phil Hagelberg
f5c2d04b57 Move default :test-selectors to :leiningen/test profile.
Fixes #1099.
2013-03-28 11:38:04 -07:00
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