Commit graph

2849 commits

Author SHA1 Message Date
Phil Hagelberg
2597ad0509 Formatting in repl.clj. 2013-02-10 21:53:00 -08:00
Phil Hagelberg
6d7a77d547 Update tests to remove :custom-init. 2013-02-10 21:52:08 -08:00
Phil Hagelberg
b428715b08 Replace with-local-vars with a gensym. 2013-02-10 21:45:13 -08:00
Phil Hagelberg
bfccbfc00a Don't require set-descriptor! in lein; only used inside project. 2013-02-10 21:45:13 -08:00
Marko Topolnik
4c5185f33a Remove obsoleted tests 2013-02-10 21:45:13 -08:00
Marko Topolnik
1c1a2c2b95 Raise reply version to 0.1.10-SNAPSHOT 2013-02-10 21:45:13 -08:00
Marko Topolnik
ccbccd65f4 Add middleware to set init-ns in nrepl session 2013-02-10 21:45:13 -08:00
Marko Topolnik
fb179d4da9 defn init-ns 2013-02-10 21:45:13 -08:00
Marko Topolnik
b4216b1dde Remove def leiningen.repl.config/project-map 2013-02-10 21:45:12 -08:00
Marko Topolnik
2d120ac925 Adapt repl tests 2013-02-10 21:45:12 -08:00
Marko Topolnik
1df326b1c7 Try to start repl even if some requires fail 2013-02-10 21:45:12 -08:00
Marko Topolnik
3a5a58c12a Longer repl connect timeout 2013-02-10 21:45:12 -08:00
Marko Topolnik
90b471134c def leiningen.repl.config/project-map for nrepl clients 2013-02-10 21:45:12 -08:00
Marko Topolnik
a7e0e2f78a require init-ns unconditionally 2013-02-10 21:45:12 -08:00
Marko Topolnik
930429c519 Perform init unconditionally 2013-02-10 21:45:12 -08:00
Michael Klishin
77e29f81b6 Merge pull request #995 from cldwalker/test-command-docs
document ns tagging and :only features of test subcommand
2013-02-09 16:42:04 -08:00
Gabriel Horner
d94f0a0534 update test subcommand doc to have a realistic example 2013-02-09 14:52:50 -05:00
Gabriel Horner
2747df724a document ns tagging and :only features of test subcommand 2013-02-09 12:02:03 -05:00
Hugo Duncan
551479fc5a Fix stack overflow on with-profile self-aliases
An alias such as {"doc" ["with-profile" "+doc" "doc"]} was leading to a stack
overflow when executed.

This was due to the project being reload when with-profile calls set-profiles,
thus re-instating the aliases that have been removed by remove-alias.
2013-02-08 22:56:42 -05:00
Jean Niklas L'orange
147dfbc3da Add tests for prioritized repos. 2013-02-08 21:04:58 +01:00
Jean Niklas L'orange
120c54ab3c Pick prioritized value in add-repo if there is one 2013-02-08 21:04:23 +01:00
Jean Niklas L'orange
cd52531897 Move prioritized picks out of meta-merge. 2013-02-08 21:03:29 +01:00
Hugo Duncan
cc335da313 Simplify deploy
This takes advantage of the coordinate merging in pomegranate.aether/deploy.
2013-02-08 11:10:01 -05:00
Phil Hagelberg
f822cedeac Add experimental support for :eval-in :nrepl. 2013-02-07 15:15:24 -08:00
Anthony Grimes
722135ad28 Print command to run a single failing test above its output. 2013-02-07 15:12:02 -08:00
Jean Niklas L'orange
6dbdada36c Don't follow symlinks when cleaning. Fixes #988. 2013-02-07 21:11:04 +01:00
Jean Niklas L'orange
0864e69455 Implement symlink?. 2013-02-07 20:49:00 +01:00
Phil Hagelberg
3e4d4d6168 Merge pull request #985 from timmc/explicit-gpg-args
Use -- to treat filenames as non-option args to gpg.
2013-02-05 21:40:23 -08:00
Phil Hagelberg
75328c2e2d Merge pull request #984 from davidhc/better-errors
adding message to set HTTP_PROXY and HTTPS_PROXY if behind a firewall
2013-02-05 21:39:56 -08:00
Phil Hagelberg
5df313ce8f Merge pull request #983 from paraseba/long-javac-commandline
Fix long javac command line error
2013-02-05 21:39:37 -08:00
Tim McCormack
7f10199c0d Found a couple more shell invocations.
/usr/bin/java doesn't appear to have a -- equivalent, unfortunately.
2013-02-05 20:39:02 -05:00
Tim McCormack
f7fbda14c8 Use -- to treat filenames as non-option args to gpg.
Ordinarily I'd also check that the filename was not "-", or perhaps
get the absolute path, but in this case I know the filename. (Otherwise
this could result in a hung process as gpg waited for stdin.)
2013-02-05 20:25:26 -05:00
David Cohen
d7f05cf004 adding message to set HTTP_PROXY and HTTPS_PROXY for those behind a firewall 2013-02-05 20:17:14 -05:00
Sebastián Bernardo Galkin
3867d4d17c Fix long javac commandline error
If the classpath is very long or the list of java files to compile is very
long, javac task will result in "Argument list too long" error.

This patch uses @argfiles [1] optinos to javac instead of commmand line
options.

[1] http://docs.oracle.com/javase/6/docs/technotes/tools/windows/javac.html
2013-02-05 16:38:32 -08:00
Phil Hagelberg
aa2bf6e3ce Merge pull request #980 from bruceadams/patch-1
Remove superfluous exclusion of slf4j
2013-02-04 08:59:02 -08:00
Bruce Adams
9f20aa3bfd Remove superfluous exclusion of slf4j
The dependencies for pomegranate were cleaned up as of pomegranate-0.0.8. We no longer need to exclude slf4j. (Hard to claim this is important; I just happened to notice that it was not needed.)
2013-02-03 16:20:43 -05:00
Jean Niklas L'orange
4ecb6589f7 Merge pull request #974 from kumarshantanu/master
Fix https://github.com/Raynes/lein-newnew/issues/60 - preserve project map for lein-newnew
2013-02-03 05:12:24 -08:00
Jean Niklas L'orange
c9c5cca4dc Make profile aliases available outside projects.
Fixes #978.

By adding an atom (to pop off used aliases to avoid recursive calls)
which contains :user :aliases from profiles, we can use those aliases
outside of project maps. Whenever looking up aliases, will check the
atom if we're not in a project.
2013-02-03 13:20:03 +01:00
Jean Niklas L'orange
3a0a1911f7 Fix typo in min-version-warning. 2013-02-03 11:48:16 +01:00
Phil Hagelberg
58f059474b Merge pull request #970 from cldwalker/helpful-new-renderer
Helpful new renderer error message
2013-01-31 14:06:33 -08:00
Shantanu Kumar
41b41f7445 fix https://github.com/Raynes/lein-newnew/issues/60 - preserve project map in a dynamic var for lein-newnew 2013-02-01 00:26:57 +05:30
Phil Hagelberg
3aec2e4de9 Work around CLJ-1153 in the default app template.
http://dev.clojure.org/jira/browse/CLJ-1153
2013-01-31 10:10:27 -08:00
Michael Klishin
493075699e Merge pull request #972 from cldwalker/959-fix-tutorial
update tutorial to correctly reference app template
2013-01-31 00:28:01 -08:00
Gabriel Horner
cd3338fcaa update tutorial to correctly reference app template
closes #959
2013-01-31 00:57:44 -05:00
Jean Niklas L'orange
4820b40c3a Merge pull request #969 from cldwalker/contributing-typos
point to correct docs for a local lein checkout
2013-01-30 10:47:18 -08:00
Gabriel Horner
f477ffa7da add tests for helpful renderer msgs, handle no args case 2013-01-30 06:31:14 -05:00
Gabriel Horner
7b4c8c753f have new renderer abort with a more helpful message
abort with message including resource path instead of
an exception that has no resource info
2013-01-30 06:01:45 -05:00
Gabriel Horner
0a7b974fdc point to correct docs for a local lein checkout 2013-01-29 22:15:33 -05:00
Jean Niklas L'orange
fad3f7312d Remove directory part of root-path when copying jar, re #953.
When specifying :filespecs with `:type :path`, copy-to-jar will iterate
over all elements within the path if the path is a directory, and remove
the path from the front of the path when added as a JarEntry. This is an
issue if you specify a file, as the path will then just be an empty
string. This is solved by invoking the newly implemented dir-string and
remove the result of that instead of removing the path itself.
2013-01-24 18:59:59 +01:00
Jean Niklas L'orange
133a5a757a "De-regexify" trim-leading. 2013-01-24 17:20:09 +01:00