Commit graph

2431 commits

Author SHA1 Message Date
Jean Niklas L'orange
d6ba16b9da Removes run task aliases within metadata. fix #882
Removes the task to be run residing within a project's metadata (inside
:without-profiles) in addition to the original map, in order to prevent
"with-profile" from reviving already used aliases.
2012-12-11 02:27:45 +01:00
Phil Hagelberg
2b004681f9 Merge pull request #881 from hyPiRion/alias-java-opts-to-jvm-opts
Add :java-opts as an alias for :jvm-opts
2012-12-09 20:38:10 -08:00
Jean Niklas L'orange
493adefe34 Add :java-opts as an alias for :jvm-opts 2012-12-09 19:50:34 +01:00
Anthony Grimes
5c59d28aa9 Factor out selected-namespaces code to prevent walk-off-the-screenage. 2012-12-07 17:44:31 -06:00
Anthony Grimes
ba9e56f259 Add capability for selectors to be two functions (one checks the ns, one the vars)
This makes it so that a selector such as :only can prevent unnecessary loading
of namespaces that they aren't going to work on. It is a way for a selector
that knows which namespaces it will touch by the selector's arguments and the
namespace names themselves to not have to load all namespaces.

This commit also fixes a bug introduced by a recent pull request where
'namespaces' could not be resolved. Per discussion with technomancy, provided a
default test selector *always*.
2012-12-07 17:44:31 -06:00
Michael Klishin
e5ca554ac2 Merge pull request #879 from m00sey/patch-1
Update doc/TUTORIAL.md
2012-12-07 05:58:13 -08:00
Kevin Griffin
e457fc901e Update doc/TUTORIAL.md 2012-12-07 08:55:20 -05:00
Phil Hagelberg
e1a8479319 Merge pull request #877 from balinterdi/fix-project-repositories-test-case
Fix a leiningen-core project test case
2012-12-05 10:53:23 -08:00
Phil Hagelberg
a24d54db3f Merge pull request #876 from balinterdi/update-repositories-key-in-sample-project
Update repositories key in sample project and tests
2012-12-05 10:53:10 -08:00
Balint Erdi
d0dd2dcdcf Fix a leiningen-core project test case 2012-12-04 16:44:19 +01:00
Balint Erdi
e7295dcb8a Update tests to the new way of defining replacing repositories 2012-12-04 15:58:56 +01:00
Balint Erdi
1bc325e9ae Update the sample project to the new way of replacing repositories 2012-12-04 15:56:59 +01:00
Phil Hagelberg
751b253f30 Merge pull request #873 from balinterdi/only-run-tests-which-match-selector
Only run tests which match selector
2012-12-03 20:06:01 -08:00
Phil Hagelberg
8f46783632 Merge pull request #874 from arohner/master
export $SCRIPT as leiningen.script
2012-12-03 20:02:57 -08:00
Allen Rohner
ec8b8fab34 export $SCRIPT as leiningen.script 2012-12-01 18:51:15 -08:00
Balint Erdi
c485365d61 Define selected-namespaces to make core more readable 2012-11-30 13:12:11 +01:00
Balint Erdi
8b3fb9e494 Only run test namespaces that match a test selector 2012-11-30 11:39:03 +01:00
Phil Hagelberg
b4c5fe5843 Merge pull request #872 from dgrnbrg/alternate-repo-root
Alternate repo root
2012-11-29 09:31:30 -08:00
David Greenberg
80cf398b50 Allow project's git repository to be different than project root
This allows for other directories to be used for the automatic
repository tagging. This is useful for repositories that contain
multiple projects, such as leiningen-core and leiningen, so that both
will have the correct repository tag information in their pom.xml.
2012-11-28 14:48:28 -05:00
Phil Hagelberg
f0b20c6201 Merge pull request #868 from hugoduncan/feature/add-profile
Add add-profile task, which adds profiles to the default
2012-11-26 12:00:58 -08:00
Hugo Duncan
3f08092d02 Update with-profile to accept +/- prefixes
Allow the profiles to be used to be specified as a delta from the default
profile list.
2012-11-26 14:54:08 -05:00
Michael Klishin
dff77758e0 Merge pull request #866 from uvtc/patch-1
clarify maven repository terminology. Also,
2012-11-26 09:18:49 -08:00
John Gabriele
9ec66a8b56 clarify maven repository terminology. Also,
added an oxford comma or two for good measure. :)
2012-11-26 12:17:41 -05:00
Michael Klishin
f214cf8e52 Merge pull request #864 from ghoseb/master
Minor doc & error handling enhancements.
2012-11-26 04:08:40 -08:00
Baishampayan Ghose
58e862a4bd Add documentation about the :port option when starting a headless REPL. 2012-11-26 17:12:06 +05:30
Baishampayan Ghose
d6d7733099 Handle malformed :port option gracefully. 2012-11-26 17:11:34 +05:30
Phil Hagelberg
d4d6548dd3 Fix link in DEPLOY.md to use preview branch. Fixes #862. 2012-11-25 09:11:49 -08:00
Michael Klishin
9e9f431867 Merge pull request #861 from kumarshantanu/master
Implement `lein upgrade` for Windows
2012-11-21 09:30:50 -08:00
Shantanu Kumar
bd781857c2 omit redundant :no_upgrde snippet 2012-11-21 22:57:43 +05:30
Shantanu Kumar
214e464cec add upgrade support to lein.bat master 2012-11-21 22:28:01 +05:30
Justin Balthrop
77327993ee don't propagate DRIP_INIT or DRIP_INIT_CLASS to subprocess 2012-11-19 13:07:53 -08:00
Michael Klishin
f637790eae Merge pull request #859 from bmabey/patch-1
fixes code fence in plugin tutorial markdown
2012-11-19 10:51:20 -08:00
Ben Mabey
4814b4adbb fixes code fence in plugin tutorial markdown 2012-11-19 11:36:45 -07:00
Michael Klishin
37aee43f47 Merge pull request #857 from bruceadams/master
Bug fix for leading spaces in JVM_OPTS #856
2012-11-19 10:04:55 -08:00
Bruce Adams
7495e10103 Bug fix for leading spaces in JVM_OPTS #856 2012-11-19 11:45:54 -05:00
Phil Hagelberg
24fd117104 Back to classic Clojars for a while.
Took longer than expected to get Releases working.
2012-11-18 05:43:27 -08:00
Phil Hagelberg
f14343026a Merge pull request #855 from llasram/test-provided-deps
Test :provided profile interpretation by the uberjar task
2012-11-18 05:44:09 -08:00
Marshall T. Vandegrift
24ca286d54 Test :provided profile interpretation by the uberjar task. 2012-11-17 17:38:11 -05:00
Colin Jones
d1c99b65d5 Merge pull request #854 from ghoseb/master
Add :port option to headless repl task.
2012-11-17 13:33:15 -08:00
Baishampayan Ghose
79dbef17a5 Add :port option to headless repl task.
We can now specify the port to use when creating a headless REPL.

Example -
lein repl :headless :port 4005
2012-11-17 13:19:17 -05:00
Phil Hagelberg
ceac828e03 Accept string for :license. Fixes #853. 2012-11-16 14:12:15 -08:00
Lee Hinman
1edc6cc1c1 Fix lein deploy clojars issue by bumping clj-http in order to use repeatable http entities 2012-11-15 14:04:41 -05:00
Phil Hagelberg
6d4ffe9a98 Add classic repo to Leiningen's own project.clj. 2012-11-15 07:07:52 -08:00
Phil Hagelberg
1fa23122ce Fix error message when there's an arity mismatch in apply-task. 2012-11-14 15:06:38 -08:00
Phil Hagelberg
8470f34c3f Fix global exclusions test broken by meta-merge changes. 2012-11-14 12:54:25 -08:00
Phil Hagelberg
d4a3708f44 Fix usages of when for return values. 2012-11-14 12:48:36 -08:00
Phil Hagelberg
2973d99652 Check Clojars releases repository instead of classic. Fixes #241. 2012-11-14 12:45:34 -08:00
Phil Hagelberg
624bf2ae88 Move AOT of :main into uberjar task. Remove :skip-aot. 2012-11-12 15:30:43 -08:00
Phil Hagelberg
4d9b8537cd Better docstrings in leiningen-core. 2012-11-12 15:15:12 -08:00
Phil Hagelberg
168d5e29b1 Accept optional not-found arg in lookup-alias. 2012-11-12 14:40:30 -08:00