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
Jean Niklas L'orange
55dd6b3fd4
Replace main
ns with log
where forgotten.
2013-02-17 23:39:40 +01:00
Jean Niklas L'orange
dff5865b2e
Merge branch 'master' of https://github.com/benjaminsavoy/leiningen
...
Conflicts:
leiningen-core/src/leiningen/core/project.clj
2013-02-17 23:17:57 +01:00
Jean Niklas L'orange
cd3f5c0c5e
Merge pull request #1012 from daemianmack/patch-1
...
Fix typos.
2013-02-17 04:01:31 -08:00
Daemian Mack
6de6b8c817
Fix typos.
2013-02-17 06:45:45 -05:00
Jean Niklas L'orange
15f8192b44
Merge pull request #986 from hugoduncan/feature/add-repo-warn-suppression
...
Add LEIN_SUPPRESS_USER_LEVEL_REPO_WARNINGS
2013-02-17 03:43:35 -08:00
Benjamin Savoy
4f05a44a0e
Logging warnings to stderr and editing for consistency
2013-02-17 11:10:41 +01:00
Hugo Duncan
fb1e73cd3b
Add test cases for warn-user-repos and fix
...
Refactored warn-user-repos to take an argument to enable testing.
The tests are different depending on whether
LEIN_SUPPRESS_USER_LEVEL_REPO_WARNINGS is set or not. This is not ideal, but
there doesn't seem to be a good way of altering the environment variables in
clojure.
2013-02-16 22:29:12 -05:00
Hugo Duncan
7807740f8b
Add LEIN_SUPPRESS_USER_LEVEL_REPO_WARNINGS
...
Can be used to suppress warnings about repositories in user level profiles. Also
adds the list of profiles containing :repositories when not suppressed.
2013-02-16 22:29:12 -05:00
Gabriel Horner
ca9da99e5b
remove abort in new task which was for lein1 compatability
2013-02-15 16:15:56 -08:00
Gabriel Horner
c395092d8f
new task generates in current directory by default, close #989
2013-02-15 16:15:56 -08:00
Gabriel Horner
95eeba2f1a
add new task tests for other templates, fail case and :show
2013-02-15 16:15:55 -08:00
Gabriel Horner
0e025421d6
documenting and testing --to-dir option for new task
2013-02-15 16:15:55 -08:00
Anthony Grimes
139b87c599
Make :only work with namespaces too.
2013-02-15 16:10:19 -08:00
Anthony Grimes
e55d98a993
Add examples of new keys to sample.project.clj.
2013-02-15 15:30:07 -08:00
Anthony Grimes
feae1157fd
Merge branch 'master' of github.com:technomancy/leiningen
2013-02-15 15:24:49 -08:00
Anthony Grimes
f11d7d2234
Make sure metadata is propagated.
2013-02-15 15:23:59 -08:00
Anthony Grimes
7b41504de0
Rewrite only-install-snapshots as install-releases?
2013-02-15 15:09:56 -08:00
Colin Jones
9183315bbb
Add a comment about the need for with-local-vars
...
[ci skip]
2013-02-15 16:38:20 -06:00
Anthony Grimes
4080c1e62f
Add a simple alias mechanism for :repositories and :deploy-repositories.
2013-02-15 14:29:32 -08:00
Colin Jones
700e5e84c6
Move back to using a var, since nREPL needs it
...
refs #955
2013-02-15 16:24:04 -06:00
Colin Jones
dc887efc03
Bump reply version
...
refs #957
2013-02-15 14:57:00 -06:00
Jean Niklas L'orange
2107a25439
Gracefully handle javac errors. Fixes #994 .
...
When javac runs, it will run in a subprocess. If that subprocess fails,
the entire command should fail. However eval-in command throws an error
as the subprocess returns an exit code not equal to zero. The result is
that we end up with a messy stacktrace even if the javac command
explains why we failed.
This patch handles this by catching an eventual exception, but only if
it's generated by the subprocess. If the subprocess does crash, call
main/exit with the exit code we were given.
2013-02-15 07:18:10 +01:00
Anthony Grimes
1579af9264
Rethink :only-deploy-master and generalize it for a set of branches.
2013-02-14 11:31:12 -08:00
Anthony Grimes
d340cb0de5
Add an :only-install-snapshots option that prevents lein install
of non-snapshots.
2013-02-14 11:05:29 -08:00
Anthony Grimes
0d4fd58b14
Add :only-deploy-master option to prevent deploys from non-master branches.
2013-02-13 17:31:43 -08:00
Anthony Grimes
cd87788400
Add never-deploy-snapshots option.
2013-02-13 16:27:01 -08:00
Michael Klishin
62ae78236e
Merge pull request #1002 from cldwalker/upgrade-bultitude
...
upgrade to bultitude 0.2.1 to stop relying on bultitude private fn
2013-02-12 18:08:44 -08:00
Gabriel Horner
07527a4c3d
upgrade to bultitude 0.2.1 to stop relying on bultitude private fns
...
use new ns-form-for-file instead
2013-02-12 20:08:22 -05:00
Phil Hagelberg
9960b16a18
Re-enable :skip-aot.
2013-02-12 09:54:26 -08:00
Phil Hagelberg
af7d5aaffd
Improve boot time by limiting tiered compilation.
2013-02-12 09:54:25 -08:00
Michael Klishin
561e6535ee
Merge pull request #1001 from cldwalker/test-doc-tweak
...
add doc for #1000 , mention :all for tests
2013-02-11 21:43:16 -08:00
Gabriel Horner
d11089c77b
add doc for #1000 , mention :all for tests
2013-02-12 00:33:59 -05:00
Phil Hagelberg
176bab653a
Merge pull request #1000 from cldwalker/test-command-takes-files
...
Test command takes file arguments
2013-02-11 20:39:11 -08:00
Gabriel Horner
efb62f7f84
remove failing report test that is no longer valid
...
removed at dfb951f430
2013-02-11 22:30:20 -05:00
Gabriel Horner
5cc3aa874b
allow lein test
to take file args
...
closes #996
2013-02-11 22:16:22 -05:00
Gabriel Horner
2e349c61e3
test for test command aborting on invalid namespace
...
move abort-msg to helper and ensure it only catches main/abort
2013-02-11 22:16:22 -05:00
Gabriel Horner
d5ec46e871
add missing tests for common test command invocations
2013-02-11 22:16:22 -05:00
Michael Klishin
6a7857a80d
Merge pull request #999 from trevor/master
...
update links to docs rc->stable
2013-02-11 18:52:27 -08:00
Trevor Wennblom
8aed31b3e6
update links to docs rc->stable
2013-02-11 19:19:20 -06:00
Phil Hagelberg
26fee30387
Add Sonatype OSS snapshots repo for pomegratate.
2013-02-11 14:39:22 -08:00
Anthony Grimes
dfb951f430
Remove report to get rid of redundant information.
2013-02-11 13:26:47 -08:00
Anthony Grimes
d2f49ca6d1
Merge branch 'master' of github.com:technomancy/leiningen into printonly
2013-02-11 13:21:53 -08:00
Phil Hagelberg
c28d6997ee
Allow :classifiers to point to top-level profile names.
...
Fix classifier docstrings in jar.clj.
2013-02-10 22:40:56 -08:00
Hugo Duncan
c418aee68b
Allow building of jars with classifiers
...
Adds a :classifiers project key that takes a map from classifier keyword to
profile map.
:classifiers {:tests {:source-paths ^:replace ["test"]
:resource-paths ^:replace []}}
2013-02-10 22:14:52 -08:00
Phil Hagelberg
cb71b5a071
Merge pull request #991 from hugoduncan/feature/simplify-deploy
...
Simplify deploy by moving coordinate merging into aether
2013-02-10 22:13:54 -08:00
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