Commit graph

2870 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
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
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
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
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