Commit graph

169 commits

Author SHA1 Message Date
Phil Hagelberg
d4d6548dd3 Fix link in DEPLOY.md to use preview branch. Fixes #862. 2012-11-25 09:11:49 -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
b5a193d331 Switch :repositories to vector format to preserve ordering.
See http://librelist.com/browser/leiningen/2012/8/17/ordering-issues-with-repositories/
for motivation.
2012-08-23 14:34:58 -07:00
Justin Balthrop
ff5524bdf1 support disabling autoload of plugin hooks and middleware 2012-08-23 13:29:37 -07:00
Phil Hagelberg
d590f0ca1e Trim long lines in sample.project.clj. 2012-08-22 11:19:21 -07:00
Chas Emerick
dbb7ca8de9 * upgrade to nREPL 0.2.0-beta9
* :nrepl-* configuration moved under :repl-options
* :nrepl-middleware now takes advantage of descriptors in middleware metadata
2012-08-22 13:47:35 -04:00
Jeremy Heiler
c9a89f2ffd Allow for plugin specific repositories with :plugin-repositories. 2012-08-18 10:27:46 -04:00
Phil Hagelberg
77c811bbe8 Read nREPL handlers and middleware from project. Fixes #716. 2012-08-08 21:02:36 -07:00
Phil Hagelberg
40e28a7208 Merge pull request #712 from pgdad/master
Pull request for adding xml content to generated pom file.
2012-08-01 10:21:22 -07:00
Esa Laine
b08c7c5f1e add :pom-addtion example 2012-08-01 13:16:39 -04:00
Phil Hagelberg
e7dadcd7b9 Remove commented-out shell wrapper remainders. 2012-08-01 09:42:20 -07:00
Michael S. Klishin
f66c7474a0 Mention :gen-class, references #710 2012-07-31 19:02:31 +04:00
Michael S. Klishin
ecfbac67b2 Minor improvements to sample.project.clj, closes #710 2012-07-31 19:00:59 +04:00
Joe Gallo
a6a8695a9d Document how commas are treated. 2012-07-27 15:21:17 -04:00
Joe Gallo
96507dc9e2 Add test! back as an example alias. 2012-07-27 15:20:50 -04:00
Phil Hagelberg
e7474a8488 Update env var reference. 2012-07-27 09:31:21 -07:00
Michael S. Klishin
f637e5def1 Merge branch 'master' of github.com:technomancy/leiningen 2012-07-27 02:46:44 +04:00
Michael S. Klishin
b889a8b50b A better default/example 2012-07-27 02:46:16 +04:00
Michael S. Klishin
60a4279fd2 Make it clear how to use :checksum setting that is applicable to all repositories 2012-07-27 02:44:51 +04:00
Phil Hagelberg
5d40f19cec Add environment variables reference to the bottom of sample.project.clj. 2012-07-26 14:09:54 -07:00
Michael S. Klishin
683bdff900 Correct :test-selectors example 2012-07-25 22:54:49 +04:00
Michael Klishin
745a7a638f Update sample.project.clj to use the new :javac-options format
Which is the same as javac command line arguments, passed as a vector.
2012-07-14 05:05:10 +04:00
Phil Hagelberg
066b557e97 Merge remote-tracking branch 'Moocar/prep-tasks'
Conflicts:
	leiningen-core/src/leiningen/core/eval.clj
2012-07-11 17:12:14 -07:00
Anthony Marcar
68f1b07569 updated prep-tasks doco 2012-07-08 23:11:35 -07:00
Anthony Marcar
5c05e6b041 changed doco to reflect prep-tasks args 2012-07-08 22:14:21 -07:00
Phil Hagelberg
6f04e0d43d Improve example of :aliases in sample.project.clj.
[ci skip]
2012-07-08 13:08:08 -07:00
Phil Hagelberg
a32abdf51c Plumb through mirror support to pomegranate. Fixes #271.
Won't actually be visible until pomegranate is bumped to 0.0.13.
2012-06-25 11:08:59 -07:00
Shantanu Kumar
d99e1019d6 fix :javac-options example in sample.project.clj 2012-06-22 18:09:41 +05:30
Florian Anderiasch
5e952c4303 Rephrase sample.project.clj comment for :scm #640 2012-06-21 00:12:01 +02:00
Florian Anderiasch
0bd7ab2ad3 Add :scm to sample.project.clj (#640) 2012-06-20 23:50:25 +02:00
Phil Hagelberg
c263783455 Turn :bootclasspath off by default; too many issues for now. 2012-06-15 10:48:26 -07:00
Phil Hagelberg
2f2bd69b4d Fix tests for bootclasspath. 2012-06-14 16:26:22 -07:00
Phil Hagelberg
80fa274979 Use bootclasspath inside eval-in-project. Fixes #639. 2012-06-13 21:42:55 -07:00
Phil Hagelberg
f0732f5536 Remove outdated comment about ant.
[ci skip]
2012-06-09 19:48:41 -07:00
Phil Hagelberg
674b4d52ae Replace :env values in :repositories with lookups from environment.
Needed for unattended builds.
2012-06-01 17:32:59 -07:00
Phil Hagelberg
2a089a131b Document :certificates. 2012-06-01 17:31:16 -07:00
Phil Hagelberg
dff9a6cf24 Spin off separate profile guide from readme/tutorial. 2012-05-24 18:26:46 -07:00
Phil Hagelberg
14f566bd57 Spin FAQ off into its own page. 2012-05-23 21:27:17 -07:00
Phil Hagelberg
7d641026e4 Allow :checksum policy to be set at the top-level of project.clj as well. 2012-05-11 11:44:43 -07:00
Phil Hagelberg
176bcf5e6d Add :update support at the top-level of the project map. 2012-05-11 11:44:42 -07:00
Phil Hagelberg
c7f78676e0 Clarify that :extensions aren't used by Leiningen. Fixes #555.
[ci skip]
2012-05-03 16:33:19 -07:00
Phil Hagelberg
3654228610 Use space in sample for classpath. 2012-04-30 13:18:19 -07:00
Phil Hagelberg
0016f04e2e Allow :manifest entries to contain functions. 2012-04-30 11:11:43 -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
6e5dee8611 Update sample.project.clj docs. 2012-04-10 17:27:49 -07:00
Lee Hinman
c6697f76aa Collapse all repl-* options into :repl-options map
Makes progress on #432, still may need work (needs test cases).

Also note all non-lein keys in :repl-options are passed through to
reply without modification (in case reply adds some crazy new features
that lein doesn't immediately support)
2012-04-10 17:09:20 -06:00
Phil Hagelberg
0f1f6df45e Replace :javac-options map with vector. Fixes #450. 2012-04-09 21:23:01 -07:00
Phil Hagelberg
7c82e59acf Mention new :dependencies settings in sample.project.clj. Fixes #501.
[ci skip]
2012-04-09 21:13:12 -07:00
Phil Hagelberg
03d6632169 Document :filespecs in sample project.clj. 2012-04-03 13:03:51 -07:00
Phil Hagelberg
39a6b2c63a Remove Clojure 1.2 from bootclasspath in lein.bat. Might fix #486. 2012-03-31 16:09:42 -07:00
Nelson Morris
a8c06fbca9 Change :type to :extension in sample. Fixes #457 2012-03-30 13:13:41 -05:00
Phil Hagelberg
21d9917a3f Now :project-init is redundant with :injections. 2012-03-28 13:37:06 -07:00
Tim Dysinger
5458e6595b Make the sample file match the code 2012-03-24 10:50:12 -10:00
Phil Hagelberg
a62ff2539b Update sample, readme, todo.
[ci skip]
2012-03-06 18:06:21 -08:00
Phil Hagelberg
4ef309b448 Update sample.project.clj for 2.0.0-preview. 2012-03-05 17:44:26 -08: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
Chas Emerick
d00e0f78e0 :extra-classpath-dirs no longer supported 2012-02-20 05:29:08 -05:00
Nelson Morris
8baf33ec80 Update deploy task 2012-01-22 22:41:47 -06:00
Nelson Morris
ef2b0f0b9b Copy pom.xml generation from depot
Take some code from depot
Take the git scm code from lein 1.x
Update sample.project.clj with multiple source/test directories and extensions
Creates a similiar pom for sample.project.clj as lein 1.x
Use build-helper-maven-plugin for multiple source directories
2012-01-22 22:41:47 -06:00
Phil Hagelberg
b2cbf4d363 Update plugin guide; remove deprecations from sample. 2012-01-12 19:15:02 -08:00
Phil Hagelberg
9254c04ea0 Document :type in :dependencies in sample.project.clj. 2011-11-16 13:32:40 -08:00
Geoff Wilson
07a755c8af Add :parent to sample.project.clj 2011-11-04 11:45:31 +01:00
Phil Hagelberg
79b8373007 Add :compile-path to sample.project.clj.
[ci skip]
2011-10-21 14:33:33 -07:00
Chas Emerick
bd6959c3a3 Add support for :deploy-repositories slot for deployment-only repositories; closes gh-273 2011-09-15 21:29:18 -04:00
Chas Emerick
2c324b3003 Upgrade to maven-ant-tasks 2.1.3, explicitly add disabled "central" repository when :omit-default-repositories is true. Fixes #211. 2011-08-25 08:25:24 -04:00
Phil Hagelberg
53141eab86 Run eval-in-project using clojure.java.shell. Fixes #239. 2011-07-25 13:37:07 -07:00
Phil Hagelberg
60a8ed82d6 Clarify :checkout-deps-shares in sample.project.clj. 2011-07-05 20:29:35 -07:00
Sebastián Bernardo Galkin
0681d1f962 Added :checkout-deps-shares option
Used to specify other directories added to the classpath from the checked out projects.
2011-07-05 20:21:05 -03:00
Phil Hagelberg
ad2e2111bf Support :project-init in project.clj to allow :repl-options to use pprint. 2011-07-03 15:12:38 -07:00
Phil Hagelberg
dcab34c0fc Mention bug in :omit-default-repositories. 2011-06-06 21:33:12 -07:00
Phil Hagelberg
eaf0de1fe9 Support :local-repo-classpath.
TODO: ant still spews out a bunch of useless output; doesn't seem to
be a way to suppress the noise.
2011-05-13 10:47:25 -04:00
Phil Hagelberg
18becb7a7d Add :extra-classpath-dirs to project classpaths. 2011-04-22 16:18:49 -07:00
Phil Hagelberg
fc7ad7017b Add more :repositories settings details to sample project.clj. 2011-04-11 20:21:32 -07:00
Phil Hagelberg
63e3eb161b Update sample.project.clj to mention disabling snapshots/releases. 2011-03-21 20:56:09 -07:00
Joe Gallo
ac9f135c89 Add global :exclusions 2011-03-11 12:25:28 -05:00
Phil Hagelberg
33846eddfb Honor :class-file-whitelist to make classes/ deletion more manageable. 2011-02-28 13:55:06 -08:00
Phil Hagelberg
1943be7000 Accept :repl-init ns in favour of :repl-init-script. 2011-02-23 21:17:58 -08:00
Phil Hagelberg
d839074a96 Add prepend-tasks for task hooking in simplistic cases. 2011-02-15 20:48:37 -08:00
Phil Hagelberg
dcf210d501 Add flexibility to clean task. 2011-02-15 11:23:52 -08:00
Phil Hagelberg
6cc10bc4be s/disable-implicit-clean/disable-deps-clean/. keep backwards-compat. 2011-02-10 20:08:59 -08:00
Phil Hagelberg
15ff6b1170 A few doc changes. 2011-01-24 19:42:38 -08:00
Phil Hagelberg
781ec86f18 Fix deploy task to use :repositories for configuration.
No more separate :deploy-to configuration.
2011-01-24 19:38:28 -08:00
Phil Hagelberg
e30a38d549 Skip fetching deps unnecessarily when :checksum-deps is set. 2011-01-15 09:23:03 -05:00
Phil Hagelberg
0cf1ddf024 Separate :snapshots and :releases repository URLs in project.clj.
Plane commit; woo!
2011-01-15 08:53:03 -05:00
Phil Hagelberg
59e18bb485 Add deploy task.
Works great with file:// repositories, OK with http://, and not at all
with scp://.Commit rough deploy task; still need to bridge maven and ant APIs.
2011-01-13 15:29:19 -05: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
19b44647cc Rework some of sample.project.clj. 2010-12-24 20:48:10 -08:00
Phil Hagelberg
c960e5f2f3 Allow boosting :repl-retry-limit in project.clj for slow-starting projects. 2010-12-14 21:56:28 -08:00
Phil Hagelberg
c4271c07c6 Switch off :clean-non-project-classes by default. Fixes #141. 2010-12-13 22:49:31 -08:00
Phil Hagelberg
1ee9d5d73c Allow :main to not trigger AOT with :skip-aot metadata. 2010-12-13 22:47:31 -08:00
Phil Hagelberg
de9c54fac2 Mention :keep-non-project-classes in sample.project.clj. 2010-12-09 12:46:33 -08:00
Phil Hagelberg
e048036469 Fix sample.project.clj documentation of :repl-options. 2010-11-27 13:46:55 -08:00
Phil Hagelberg
ab0b885aab Mention :test-selectors in sample.project.clj. 2010-11-24 21:18:47 -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
Phil Hagelberg
cb51f6eb09 Support :repl-options in project.clj. 2010-11-19 19:21:30 -08:00
Phil Hagelberg
f732bfeebf Support :eval-in-leiningen key in project.clj for plugins. 2010-10-24 14:28:26 -07:00
Phil Hagelberg
13520dba00 Add password-protected repository in sample.project.clj. 2010-10-22 07:35:22 -07:00
Phil Hagelberg
acc9a828e5 Specify what file patterns to exclude from jars. Thanks to Zehua Liu. 2010-09-23 22:45:57 -07:00
Phil Hagelberg
b0cd71badf Add :test-resources-path to sample.project.clj 2010-09-21 20:16:42 -07:00