Jean Niklas L'orange
4e77b0d3d5
Change line endings for lein new
on Windows.
...
Fixes #1061 .
This also incorporates the new environment variable
LEIN_NEW_UNIX_NEWLINES, for people who prefer to have '\n' as their
newline on non-unix operating systems.
2013-03-26 02:45:44 +01:00
Phil Hagelberg
ededa95c2d
Merge remote-tracking branch 'marcliberatore/natives-update-java-library-path'
2013-03-19 14:25:48 -07:00
Marc Liberatore
8540c73c17
document user-visible changes addressing #898
2013-03-19 15:39:28 -04:00
Tim McCormack
d14f5149f1
#949 Allow specification of artifact signing key.
...
Add :signing {:gpg-key "..."} option to project maps (global value)
and to :deploy-repositories maps (per-repo value). Does not yet work
in :repositories specs.
Also:
* Document per-repo :sign-releases option
* Delete unused defn deploy/signature-for
2013-03-19 10:24:56 -07:00
Phil Hagelberg
82d894b024
Document :java-cmd and improve update task's docstring.
...
[ci skip]
2013-03-14 16:17:01 -07:00
Michael Klishin
c11cdca61e
Update sample.project.clj
2013-03-04 04:02:28 +04:00
Daemian Mack
6de6b8c817
Fix typos.
2013-02-17 06:45:45 -05:00
Anthony Grimes
e55d98a993
Add examples of new keys to sample.project.clj.
2013-02-15 15:30:07 -08:00
maerz
4d07b5e4fb
Update sample.project.clj
...
Fixed several typos
2013-01-22 08:28:36 +01:00
Jean Niklas L'orange
511ba8eed7
Fix typo in sample.project
2012-12-28 05:00:44 +01:00
Phil Hagelberg
c43951c9d5
Better explanation of :pom-addition, a few more env vars in sample.
2012-12-26 09:33:36 -08:00
Jean Niklas L'orange
493adefe34
Add :java-opts as an alias for :jvm-opts
2012-12-09 19:50:34 +01:00
Balint Erdi
1bc325e9ae
Update the sample project to the new way of replacing repositories
2012-12-04 15:56:59 +01: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
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