Phil Hagelberg
962ce20ae9
Scope :compile-path and :native-path under :target-path.
2013-07-24 20:55:23 -07:00
Phil Hagelberg
44eb86cfd5
Don't blow up on test failures in test-ns-hook
.
...
Fixes #1201 .
2013-07-06 15:57:26 -07:00
Gary Fredericks
71e609c8a1
Don't try static methods on lein run
: better error msg
...
lein run tries to support invoking static methods on classes by
swallowing FileNotFoundExceptions when requiring the namespace to run,
which can obscure the real error when there's a real issue loading a
namespace.
Phil said he wasn't interested in keeping the (undocumented) feature
around, so the easiest fix to the error message problem was to remove
that feature.
Added a test as well.
2013-05-22 17:32:23 -05:00
Joshua P. Tilles
437e63daab
Adjust compile task to make use of regex fns
...
Also update documentation.
2013-03-19 16:12:08 -07:00
Marshall T. Vandegrift
24ca286d54
Test :provided profile interpretation by the uberjar task.
2012-11-17 17:38:11 -05:00
Phil Hagelberg
624bf2ae88
Move AOT of :main into uberjar task. Remove :skip-aot.
2012-11-12 15:30:43 -08:00
Jim Crossley
e770d5e649
Include namespace metadata in test-selector predicates, fixes #242
...
More specific metadata wins, e.g. deftest trumps its namespace.
Also tweaked the tests a bit so that actual/expected results are now
shown in the output.
2012-10-02 19:38:35 -04:00
Phil Hagelberg
5400be18a2
Fix pom and deploy tests.
2012-08-30 10:12:58 -07:00
Phil Hagelberg
22b427aca1
Fix some of the tests.
2012-08-29 19:50:53 -07:00
Phil Hagelberg
b5ea5a0f09
Normalize format of :deploy-repositories and :plugin-repositories too.
...
Fixes #752 .
2012-08-28 09:15:21 -07:00
Phil Hagelberg
e7dadcd7b9
Remove commented-out shell wrapper remainders.
2012-08-01 09:42:20 -07:00
Phil Hagelberg
82d812eccb
Fix pom tests to reflect sample project change.
2012-06-26 20:26:37 -07:00
Phil Hagelberg
70695f5868
Work with latest pomegranate deploy-artifacts signature.
2012-06-26 17:31:36 -07:00
Phil Hagelberg
2f2bd69b4d
Fix tests for bootclasspath.
2012-06-14 16:26:22 -07:00
Phil Hagelberg
6ed63b0254
Remove support for :run-aliases.
2012-05-24 18:27:19 -07:00
Phil Hagelberg
f6a4ba53ae
Don't re-extract native deps unless deps have changed. Fixes #535 .
...
Also introduces the when-stale helper function which should be useful
in other cases as well.
2012-05-07 16:29:31 -07:00
Phil Hagelberg
7f5e2b1a94
Support :fn in :filespecs for arbitrary additions to jar.
2012-04-03 11:36:13 -07:00
Anthony Grimes
82df67b959
Add a failing test for overlapped sourcepaths.
2012-03-06 15:58:14 -06:00
Phil Hagelberg
1fe2fed158
Fix deps tests.
2012-01-06 21:27:21 -08:00
Phil Hagelberg
bfe2c32fd2
Remove dev-deps-only test project.
2012-01-06 21:27:21 -08:00
Phil Hagelberg
7a0449e6d6
Fix run tests.
2012-01-06 21:27:20 -08:00
Nelson Morris
cd5cd2c0d9
Update the run task tests for 2.0
...
The test.helper needed to change the project map for the test projects
because eval-in-project uses get-classpath, which will return the
relative paths for some directories. This breaks in this case since
the working directory is not the root of the test project.
2011-12-02 21:45:47 -06:00
Phil Hagelberg
d3797fe408
Look for main functions on Java classes in run task. Fixes #249 .
2011-11-10 13:42:19 -08:00
Phil Hagelberg
ffa1b3887c
Check for file on disk before assuming :main should be AOT'd. Fixes #249 .
2011-11-09 10:06:14 -08:00
Stephen Compall
372e9b902e
Include a proxy in nom.nom.nom test, for compilation testing.
2011-10-19 14:32:57 -07:00
Phil Hagelberg
3b47bfccf1
Fix native-deps test.
2011-08-16 16:42:35 -04:00
Phil Hagelberg
0e299f0a17
Honor :jar-exclusions in copy-to-jar :bytes method.
2011-08-07 14:46:03 -07:00
Phil Hagelberg
874951cc56
Extract os/arch-specific native libs into native.
2011-05-31 21:40:38 -07:00
Clojure
f8831ed80f
Support namespace injection in eval-in-project.
2011-05-05 20:18:12 -07:00
Phil Hagelberg
96ff4eee9e
Allow multiple Java source paths. Fixes #155 .
2011-03-09 21:51:49 -08:00
Phil Hagelberg
ff58079e37
Remove clojure snapshot dep from test project.
2011-02-13 15:06:42 -08:00
Matjaz Gregoric
e3bf2d0454
Fix test_deploy.
2011-02-11 23:56:52 +01:00
Phil Hagelberg
b4943e1caa
Allow :clean-non-project-classes to be a seq of regexes.
2010-12-24 21:24:34 -08:00
Phil Hagelberg
c5c760329b
Add a test for :skip-aot on :main. Fixes #145 .
2010-12-13 22:56:10 -08:00
Phil Hagelberg
70dc18aebb
Switch test project to not use missing Clojure snapshot.
2010-12-13 22:45:02 -08:00
Phil Hagelberg
b66a046609
Fix tests to reflect sample project version change.
2010-12-09 12:46:33 -08:00
Phil Hagelberg
cc62c1a818
Don't allow release versions that depend upon snapshots.
2010-12-09 12:46:33 -08:00
Phil Hagelberg
3c5fecfe98
Fix path issue in javac task. Fixes #138 .
2010-11-23 20:11:58 -08:00
Phil Hagelberg
2bda774edc
Add :uberjar-exclusions to project.clj.
2010-11-20 12:22:29 -08:00
Matjaz Gregoric
6b6a30a148
Use a platform dependent tmp folder.
2010-11-18 11:09:51 +01:00
Phil Hagelberg
e75c6d32b1
Better unquote testing.
2010-11-11 21:37:09 -08:00
Phil Hagelberg
38347be0fc
Allow test selectors and namespaces to be specified in the same run.
2010-11-10 13:10:49 -08:00
Colin Jones
4af798d959
Allow :dev-dependencies without :dependencies.
2010-10-31 13:41:28 -04:00
Phil Hagelberg
73cc0b5094
Add delete-non-project-classes to compile task.
2010-10-30 13:15:51 -07:00
Phil Hagelberg
e27f228e17
Forgot a test file.
2010-10-30 13:15:51 -07:00
Phil Hagelberg
063baba0aa
Add run task plus rudimentary tests.
2010-10-28 21:12:24 -07:00
Phil Hagelberg
6b7a9f7c53
Revert privatization of internal functions.
...
We'll wait for Leiningen 2.0 to introduce breaking changes.
2010-10-03 14:03:28 -07:00
Phil Hagelberg
b13efc5cbd
Test selectors may be customized in project.clj.
2010-09-24 21:32:12 -07:00
Phil Hagelberg
f72bdff365
Primitive test selectors
2010-09-24 19:22:50 -07:00
Phil Hagelberg
0ebf1bd773
Replace dots with slashes in ~/.m2 path. Fixes #104 .
2010-09-05 15:11:50 -07:00