Commit graph

3106 commits

Author SHA1 Message Date
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
Phil Hagelberg
48ceb3f468 Revert "Changed installation path recommendation in README."
This reverts commit 2000619e38.
2013-03-22 09:24:22 -07:00
Michael Klishin
3ef90f6454 Merge pull request #1087 from logaan/usr-local-bin
Changed installation path recommendation in README.
2013-03-22 02:38:12 -07:00
Logan Campbell
2000619e38 Changed installation path recommendation in README. 2013-03-22 20:26:25 +11:00
Phil Hagelberg
3edc5c3d44 Bump version back to 2.2.0-SNAPSHOT 2013-03-21 15:41:14 -07:00
Phil Hagelberg
bc84d8d166 Release 2.1.1 2013-03-21 15:32:09 -07:00
Phil Hagelberg
4a5ca55d70 Fix a bug I introduced to show-profiles; woo. 2013-03-21 13:28:24 -07:00
Phil Hagelberg
e495e0ef7d Newsies. 2013-03-21 13:28:21 -07:00
Phil Hagelberg
56a0bb1187 Add :test-paths to :checkout-deps-shares.
Fixes #950.
2013-03-21 12:40:24 -07:00
Phil Hagelberg
5c294e66e7 Allow run task to operate outside project directory.
Fixes #1086.
2013-03-21 12:39:29 -07:00
Phil Hagelberg
50a15b9d2a Merge remote-tracking branch 'origin/with-profile-symmetry'
# 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.
2013-03-20 15:15:04 -07:00
Phil Hagelberg
0a028f3fb7 Fix trampolined repl. 2013-03-20 14:50:24 -07:00
Michael Klishin
04f116fac0 Mention JDK 6+ requirement in README
References #1042
2013-03-21 01:24:06 +04:00
Phil Hagelberg
305bfc1410 Bump version numbers to 2.2.0-SNAPSHOT.
[ci skip]
2013-03-20 12:49:31 -07:00