Commit graph

2895 commits

Author SHA1 Message Date
Michael Klishin
26f20ecee0 Merge pull request #1041 from AtKaaZ/bultitudeUp
upgrade bultitude from 0.1.7 to 0.2.1 else compilation fail on windows
2013-03-02 00:38:59 -08:00
AtKaaZ
fdaa492151 upgrade bultitude from 0.1.7 to 0.2.1 else compilation fail on windows
(at least)
2013-03-02 03:23:55 +01:00
Michael Klishin
abe2278773 Merge pull request #1036 from juggler/set-writeable
Call setWriteable on file before trying to delete it
2013-03-01 16:05:08 -08:00
Colin Jones
dba7e7754c Recover gracefully from java :main as repl init-ns
refs #977, #1034
2013-03-01 17:19:27 -06:00
Michael Klishin
6c6d9e844e Move (:root project) docs next to the section on :no-project-needed 2013-03-01 23:30:52 +04:00
Michael Klishin
fd6af1af58 Document (:root project) 2013-03-01 23:29:22 +04:00
Michael Klishin
a72ce319cf Consistently use (:root project) to check whether we are running in a project
Per discussion in #leiningen, preparations for fixing #966
2013-03-01 23:21:50 +04:00
Max Prokopiev
50cad6dbdc Call setWriteable on file before trying to delete it. Relates to [#460] 2013-03-01 16:29:30 +04:00
Chas Emerick
9f16f233a6 Only register wagons from each file once 2013-03-01 00:42:17 -05:00
Marc Liberatore
d3a7047c72 add a per-dependency :native-prefix, addressing #898 2013-02-28 17:43:37 -08:00
Phil Hagelberg
9f1296a639 Update .travis.yml to bootstrap with lein1. 2013-02-28 17:19:18 -08:00
Phil Hagelberg
c6e95593c4 Allow Leiningen checkout to be bootstrapped from 2.x.
Fixes #958.
2013-02-28 17:12:51 -08:00
Phil Hagelberg
f7f588b739 Implement system-level profiles. Fixes #981. 2013-02-28 12:04:12 -08:00
Phil Hagelberg
fd11857be3 Merge pull request #1032 from juggler/accept-credentials-in-url
Deploy task should accept repo URL with credentials in it
2013-02-27 07:24:01 -08:00
Max Prokopiev
a61d6a66a6 [#975] Deploy task should accept repo URL with credentials in it 2013-02-27 15:43:34 +04:00
Phil Hagelberg
ff0f5a6d04 Workaround for :test-selectors and #878.
Gotta love how quote silently discards metadata wooooo.
2013-02-26 11:57:50 -08:00
Phil Hagelberg
66ed4818ec Replace curl/wget usage in lein.bat with powershell.
Addresses #1007.
2013-02-26 10:38:37 -08:00
Phil Hagelberg
4315a64465 Move default test selectors to base profile.
Fixes #1031.
2013-02-26 10:29:58 -08:00
Michael Klishin
ba3ede811b Better error message for #1017; make sure "clojure" can never be used as a project name 2013-02-23 23:10:32 +04:00
Michael Klishin
1e32278061 Add tests for #1017 2013-02-23 23:09:51 +04:00
Michael Klishin
cbcfe7b08e Merge pull request #1029 from aroemers/silent-resolve-issue-fix
Report dependency resolving issues for unresolved artifacts instead for just missing artifacts.
2013-02-23 10:55:37 -08:00
aroemers
5a1056859f Fix reporting resolving issues other than for missing artifacts. 2013-02-23 19:29:29 +01:00
Phil Hagelberg
57ea876ddd Moving Tiered Compilation to the dev profile.
Ensures the fix to #1025 doesn't affect production usage of Leiningen.
2013-02-21 21:01:01 -08:00
Phil Hagelberg
ecf6ca40c8 Stop tiered compilation at 1 in project JVM.
Fixes #1025.

We're doing this for Leiningen itself already, but I was hesitant to
do it for the project JVM as well until the stack trace bug came up.
2013-02-21 20:58:53 -08:00
Phil Hagelberg
9317add4bd Merge pull request #1026 from bruceadams/master
minor fix to search: "group (aliased as g)"
2013-02-21 20:55:40 -08:00
Phil Hagelberg
976b564a83 Merge pull request #1027 from cldwalker/add-resources
add resources dir to default new template, close #1016
2013-02-21 20:55:05 -08:00
Gabriel Horner
3c8b95d5b6 add resources dir to default new template, close #1016 2013-02-21 22:07:41 -05:00
Bruce Adams
c77c7aff1e minor fix to search: "group (aliased as g)" 2013-02-21 21:26:05 -05:00
Phil Hagelberg
52ae933cfa Fix tests to no longer look for shouty output prefix. 2013-02-21 13:35:21 -08:00
Phil Hagelberg
3b3573b47b Revert "Logging warnings to stderr and editing for consistency"
This reverts commit 4f05a44a0e.

Conflicts:
	leiningen-core/src/leiningen/core/project.clj
	src/leiningen/deploy.clj
	src/leiningen/test.clj
	src/leiningen/with_profile.clj
2013-02-21 13:29:48 -08:00
Michael Klishin
28ade1c060 Merge pull request #1024 from hugoduncan/feature/task-not-found-to-stderr
Output task not found messages to *err*
2013-02-21 13:10:18 -08:00
Michael Klishin
fbf9401328 Merge pull request #1023 from sergv/typo-fixes
Fix some typos
2013-02-21 13:09:44 -08:00
Hugo Duncan
8472e347fd Output task not found messages to *err*
Throws an ex-info rather than calling abort to avoid the "Leiningen has
encountered a critical error and will now exit." message.

Adds a check for a :suppress-msg key before printing the exception message in
leiningen.core.main/main.
2013-02-21 16:01:25 -05:00
Phil Hagelberg
1e49148267 Merge pull request #1022 from tobias/dynapath-update
Force usage of newer dynapath until pomegranate updates.
2013-02-21 12:07:04 -08:00
Toby Crawley
5fd5592711 Force usage of newer dynapath until pomegranate updates.
This fixes the issue causing the build failures. The root of it is
that dynapath was allowing pomegranate to modify the boot classloader,
which caused multiple copies of the same class to be loaded.
2013-02-21 15:04:26 -05:00
Phil Hagelberg
cc4045b932 Merge remote-tracking branch 'hugoduncan/feature/fix-recursive-alias-993'
Conflicts:
	leiningen-core/test/leiningen/core/test/project.clj
2013-02-21 12:04:19 -08:00
Sergey Vinokurov
efc580dd79 Fix some typos 2013-02-21 22:03:56 +02:00
Phil Hagelberg
5ff555db12 Tweak tutorial. 2013-02-21 10:38:21 -08:00
Phil Hagelberg
972bf935cc Fix FAQ formatting; link to "Faster" wiki page.
Note that the two spaces after each Q line are intentional; otherwise
we don't get proper line breaks.

[ci skip]
2013-02-21 10:18:54 -08:00
Jean Niklas L'orange
ea90df22c9 Merge pull request #1020 from cldwalker/fix-new-tests
fix tests broken by change in error format
2013-02-19 06:12:49 -08:00
Gabriel Horner
2a9b50de5b fix tests broken by change in error format 2013-02-19 08:12:13 -05:00
Michael Klishin
d1019dbb47 Merge pull request #1019 from hugoduncan/feature/log-classpath
Log classpath files at debug in get-classpath
2013-02-18 15:45:52 -08:00
Hugo Duncan
1a7b9d11e7 Log classpath files at debug in get-classpath
Logging the classpath facilitates diagnosis of classpath issues.
2013-02-18 17:21:15 -05:00
Michael Klishin
9449d3cbbe Merge pull request #1018 from hugoduncan/feature/fix-test-exit-code-for-eval-in-leiningen
Fix lein test exit code when :eval-in :leiningen
2013-02-18 13:56:09 -08:00
Hugo Duncan
37611bfb24 Fix lein test exit code when :eval-in :leiningen
Lein test was always exiting with 0 when :eval-in :leiningen was used.
2013-02-18 16:43:44 -05:00
Michael Klishin
c2e45482c1 Merge pull request #1006 from cldwalker/document-global-options
document global options in help task, close #1005
2013-02-18 01:46:13 -08:00
Michael Klishin
bfeae36fb8 Merge pull request #1014 from deduktion/patch-2
Update src/leiningen/with_profile.clj
2013-02-18 01:44:23 -08:00
deduktion
ddf6c322c5 Update src/leiningen/with_profile.clj
Replace `main` ns with `log` where forgotten.
2013-02-18 10:22:40 +01:00
Jean Niklas L'orange
2ab0f9df5f Add in old fns to avoid breakage in plugins.
Also tag them as deprecated. (Since I was a bit too eager on this one,
feel free to revert to before the merge if the changes aren't worth it.)
2013-02-18 00:44:40 +01:00
Jean Niklas L'orange
6aed6d377f Resolve failing test introduced by *warn*.
Also move abort-msg up to leiningen core and call it from the leiningen
test helpers package instead.
2013-02-18 00:07:53 +01:00