Commit graph

216 commits

Author SHA1 Message Date
Phil Hagelberg
b4cc744efd Merge remote branch 'llasram/provided-profile' 2012-08-23 14:49:32 -07:00
Justin Balthrop
09e5f60684 remove unnecessary is inside of are expression 2012-08-23 13:17:20 -07:00
Marshall T. Vandegrift
f416ad9481 Implement Maven "provided" scope with :provided profile. 2012-08-23 14:33:42 -04:00
Phil Hagelberg
e25c9940dd Fix bugs in pom and repl tests. 2012-08-13 15:01:29 -07:00
Phil Hagelberg
ec0187d8e7 Use updated search index format and location. Lots of TODOs still. 2012-08-09 00:48:32 -07:00
Phil Hagelberg
e7dadcd7b9 Remove commented-out shell wrapper remainders. 2012-08-01 09:42:20 -07:00
Arlen Cuss
710849c3f5 Unmark :post-preview compile tests. 2012-07-06 23:20:47 +10:00
Arlen Cuss
e39397cbc5 Fix existing :post-preview tests for cleanup. 2012-07-06 23:13:57 +10:00
Phil Hagelberg
82d812eccb Fix pom tests to reflect sample project change. 2012-06-26 20:26:37 -07:00
Phil Hagelberg
b6f90ac49e Fix test for lein-newnew. 2012-06-24 22:06:07 -07:00
Phil Hagelberg
b7c6a63fd5 Qualify implicit ::test profile. Fixes #659 for real, hopefully. 2012-06-22 13:19:46 -07:00
Phil Hagelberg
2f2bd69b4d Fix tests for bootclasspath. 2012-06-14 16:26:22 -07:00
Phil Hagelberg
1be0c5edb9 Move task chaining to do task. Fixes #632. 2012-06-09 21:48:23 -07:00
Phil Hagelberg
3b7fda6b5f Work around bug in ordered maps.
https://github.com/flatland/ordered/issues/4
2012-05-30 20:56:09 -07:00
Phil Hagelberg
34eb0a5d22 Use https for clojars. 2012-05-28 13:46:14 -07:00
Nelson Morris
e2d2e681f8 Output correct groupId tag for exclusions in pom. Fixes #593 2012-05-26 00:14:30 -05:00
Nelson Morris
a047f6fa23 Enable pom tests 2012-05-26 00:14:25 -05:00
Phil Hagelberg
6ed63b0254 Remove support for :run-aliases. 2012-05-24 18:27:19 -07:00
Phil Hagelberg
27346f0f62 Fix install test. 2012-05-09 11:05:17 -07:00
Phil Hagelberg
08c1ce6973 Fix deps test to clean whole target dir. 2012-05-07 16:58:33 -07:00
Phil Hagelberg
2a6a4e4d00 Fix search test. 2012-05-07 11:37:41 -07:00
Phil Hagelberg
1561aa5233 Merge pull request #547 from hugoduncan/feature/decouple-init-project
Decouple init-project from l.c.project/read
2012-04-29 17:18:59 -07:00
Anthony Grimes
f9c093a35d Fix a test.
Apparently this test was 'fixed' before for broken code in lein newnew.
Pretty great, I'd say.
2012-04-29 19:12:21 -05:00
Hugo Duncan
ccd3f58465 Decouple init-project from l.c.project/read
Reading a project should be side affect free. init-project modifies the current
classloader (and possible installs a new context classloader), so should not be
part of leiningen.core.project/read.
2012-04-29 09:07:51 -04:00
Michael S. Klishin
fcf63f39c5 Translate most common javac options in Leiningen 1 format into the one used by Leiningen 2
We intentionally don't try to support every single Lein 1 option because there is no way
to do everything Ant javac task can do with JDK's javac API. And it's also not necessary
because many of those features are very opinionated at best.
2012-04-28 03:14:46 +04:00
Phil Hagelberg
c842c41723 Fix deps test. 2012-04-25 14:49:29 -07:00
Phil Hagelberg
5f5c0cdbab Fix native-path and repl test failures. 2012-04-18 21:51:50 -07:00
Colin Jones
b48eec97c4 Handle starting in a different ns
Allow either :init-ns and :main. Add tests for reply option
conversions.

refs #432
2012-04-11 09:47:43 -05:00
Phil Hagelberg
eb745d06b0 Prevent user profiles from affecting pom tests. 2012-04-10 16:06:52 -07:00
Phil Hagelberg
9c1a6f5b47 Switch pom tests back to not having clojure-complete. 2012-04-10 15:57:17 -07:00
Phil Hagelberg
30c0fdbafd Fix tests for new pomegranate and newnew versions. 2012-04-10 13:31:38 -07:00
Nelson Morris
2d71d28904 Pom output handles dev dependencies that overlap standard deps
Fixes #500
2012-04-05 13:48:30 -05:00
Nelson Morris
3076100706 Handle global exclusions in all dependency cases. Fixes #498
Also remove global exclusion handling in pom generation, otherwise
it would generate 2 exclusion tags.
2012-04-04 19:02:54 -05:00
Nelson Morris
9d046a83b7 Handle exclusion vector better for pom generation
treat [name name2] the same as [[name] [name2]].
2012-04-03 20:53:16 -05:00
Phil Hagelberg
7f5e2b1a94 Support :fn in :filespecs for arbitrary additions to jar. 2012-04-03 11:36:13 -07:00
Phil Hagelberg
bc91b8d731 Fix deps :tree test. 2012-04-02 11:50:46 -07:00
Phil Hagelberg
0babb90b05 Translate nonzero exit codes into exceptions. Fixes #493. 2012-04-02 11:12:36 -07:00
Phil Hagelberg
404d37f499 Temporarily disable test that relies on exit codes.
Once #493 is implemented, we can re-enable this test.
2012-04-02 10:32:20 -07:00
Nelson Morris
bbb2e37cfe Poms generate dependency options. Fixes #483
Helps with #457
2012-03-30 13:13:41 -05:00
Nelson Morris
cdc3ad14f4 Pom adds dev and test dependencies scoped 2012-03-30 13:13:41 -05:00
Nelson Morris
b4770d03c0 Pom generation profile handling; Add java-source-paths
1) add java-source-paths; #474.
2) make some good tests
3) remove :test :dev and :default profiles for maven info
4) use :test, :dev, :default profiles for test info
2012-03-30 13:13:41 -05:00
Nelson Morris
d633fad0b6 Let deps :tree print a dependency tree 2012-03-22 22:27:16 -05:00
Phil Hagelberg
556f4b87e6 Switch from :busted test tagging to :post-preview. 2012-03-16 12:14:01 -07:00
Phil Hagelberg
37483b487b Add :offline test selector. 2012-03-16 11:57:35 -07:00
Phil Hagelberg
32c1a21b6a Don't use abort as a side-effect. 2012-03-16 11:57:34 -07:00
Nelson Morris
557cdde580 Pretty-print pom.xml. Fixes #429. 2012-03-14 07:41:39 -05:00
Michael S. Klishin
c7b92d1b78 One more test case for the lein new task, includes artifact group in project name 2012-03-12 08:11:40 +04:00
Anthony Grimes
82df67b959 Add a failing test for overlapped sourcepaths. 2012-03-06 15:58:14 -06:00
Phil Hagelberg
532496a1ab Merge branch '1.x'
Conflicts:
	.gitignore
	README.md
	bin/lein
	project.clj
	src/leiningen/compile.clj
	src/leiningen/core.clj
	src/leiningen/help.clj
	src/leiningen/jar.clj
	src/leiningen/repl.clj
	test/leiningen/test/deps.clj
	test/leiningen/test/help.clj
	todo.org
2012-03-04 21:22:20 -08:00
Phil Hagelberg
71874208f3 Move normalization out of defproject into top-level comp. 2012-03-01 11:17:40 -08:00