Commit graph

81 commits

Author SHA1 Message Date
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