Commit graph

1974 commits

Author SHA1 Message Date
Jacek Laskowski
c3a6ee0a9f Issue #559: Provide leiningen-version function 2012-05-04 20:56:22 +02: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
6d404a8422 Explicitly use bash in bin/lein.
We've done this for a while in 1.x; just moving the change to this branch.
2012-05-03 10:52:15 -07:00
Phil Hagelberg
aa1b11969c Drop the --no-check-certificate argument to wget.
This was necessary early on due to a bug where libssl wouldn't
recognize the specific certificate github was using. If you're stuck
on this old version and are having trouble, try exporting
`HTTP_CLIENT=wget --no-check-certificate -O` to get the old behaviour back.
2012-05-03 10:51:32 -07:00
Phil Hagelberg
5d5f5c13de Clarify group-id in tutorial. 2012-05-03 10:45:41 -07:00
Michael S. Klishin
908c20597e Clarify that group ids are used for namespacing and are optional
But it is not a bad idea to use them, especially for non-OSS libraries
2012-05-01 23:44:36 +04:00
Michael Klishin
9b8195ed33 Merge pull request #552 from marick/tutorial-marick
Tutorial marick
2012-05-01 12:39:02 -07:00
Brian Marick
3c2bf423b5 Fix typo 2012-05-01 14:12:07 -05:00
Mark Baran
e474ad270f Fix for trampoline command parsing on Windows. 2012-04-30 15:25:14 -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
Michael Klishin
d50a320b21 Merge pull request #551 from kondratovich/patch-1
#541
2012-04-30 00:37:38 -07:00
Andrew Kondratovich
d919f1211f #541 2012-04-30 10:20:27 +03:00
Phil Hagelberg
7a04b5b5c2 Ignore user profiles in classpath tests. Fixes #550.
May need a more global approach to this problem.
2012-04-29 17:30:35 -07:00
Phil Hagelberg
cdf0642dc8 Merge pull request #549 from hugoduncan/feature/add-fallback-for-lein-home
Add fallback for LEIN_HOME environment variable
2012-04-29 17:27:24 -07:00
Phil Hagelberg
bb4dafe8f0 Merge pull request #548 from hugoduncan/feature/add-target-to-git-ignore
Add target to .gitignore
2012-04-29 17:26:52 -07:00
Phil Hagelberg
1561aa5233 Merge pull request #547 from hugoduncan/feature/decouple-init-project
Decouple init-project from l.c.project/read
2012-04-29 17:18:59 -07:00
Anthony Grimes
f9c093a35d Fix a test.
Apparently this test was 'fixed' before for broken code in lein newnew.
Pretty great, I'd say.
2012-04-29 19:12:21 -05:00
Brian Marick
80bc331ed0 Example of group id 2012-04-29 16:56:54 -05:00
Anthony Grimes
6bad4a0e7c Upgrade lein-newnew. 2012-04-29 16:10:18 -05:00
Hugo Duncan
2c47d3aed6 Add fallback for LEIN_HOME environment variable
When using leiningen-core outside of lein, LEIN_HOME, which is set be the lein shell wrapper,
is not set. Fall back to using the system property for user.home to calculate the lein
home directory
2012-04-29 09:18:54 -04:00
Hugo Duncan
b9e2ae000b Add target to .gitignore 2012-04-29 09:10:32 -04:00
Hugo Duncan
ccd3f58465 Decouple init-project from l.c.project/read
Reading a project should be side affect free. init-project modifies the current
classloader (and possible installs a new context classloader), so should not be
part of leiningen.core.project/read.
2012-04-29 09:07:51 -04:00
Phil Hagelberg
1efcfe4230 Merge pull request #544 from technomancy/legacy-javac-options-support
Legacy javac options support
2012-04-27 16:36:25 -07:00
Michael S. Klishin
93993f09ea Strip trailing ws 2012-04-28 03:20:08 +04:00
Michael S. Klishin
fcf63f39c5 Translate most common javac options in Leiningen 1 format into the one used by Leiningen 2
We intentionally don't try to support every single Lein 1 option because there is no way
to do everything Ant javac task can do with JDK's javac API. And it's also not necessary
because many of those features are very opinionated at best.
2012-04-28 03:14:46 +04:00
Phil Hagelberg
2ea41b28d2 Merge pull request #543 from michaelklishin/newnew-0.2.8
Use newnew plugin 0.2.8 with the directory structure fix
2012-04-27 13:44:09 -07:00
Michael S. Klishin
0dcf7ab5cf Use newnew plugin 0.2.8 with the directory structure fix 2012-04-28 00:40:48 +04:00
Phil Hagelberg
c842c41723 Fix deps test. 2012-04-25 14:49:29 -07:00
Phil Hagelberg
013a336c45 Put version in deps :tree inside a string.
Easier to copy straight into project.clj this way.
2012-04-25 11:30:00 -07:00
Phil Hagelberg
afc7df8e7e Don't set environment to empty map by default. 2012-04-25 11:29:43 -07:00
Phil Hagelberg
7070c8f15a Clarify profile selection logic in readme. 2012-04-24 16:10:17 -07:00
Phil Hagelberg
d85f2fba4d Use :without-profiles when calculating pom for inclusion in jar. Fixes #537. 2012-04-24 16:10:17 -07:00
Phil Hagelberg
4b63f9a953 Make the environment for subprocesses check a dynamic map. 2012-04-24 16:10:17 -07:00
Phil Hagelberg
1faf0eedb4 Bump version of ordered to avoid locked version range. 2012-04-24 16:10:17 -07:00
Justin Balthrop
7a77786248 make lein test print ns-specific commands that can be copied and pasted 2012-04-24 14:36:32 -07:00
Chas Emerick
5a1c2419da eliminate duplicate init-profile 2012-04-24 14:35:03 -04:00
Phil Hagelberg
c07b20accd Merge pull request #539 from sattvik/master
Add reference to leinjacker
2012-04-24 10:29:42 -07:00
Chas Emerick
18d58964d5 test for init-project 2012-04-24 13:27:07 -04:00
Chas Emerick
b1ae6b0758 load plugins, middleware, hooks, etc after merging profiles in with-profile 2012-04-24 13:27:07 -04:00
Daniel Solano Gómez
1f25c46907 Add references to leinjacker and its eval-in-project 2012-04-24 12:14:24 -05:00
Phil Hagelberg
8309cfcadf Merge pull request #538 from metajack/master
Add back in 1-arg version of help-for for backwards compatibility.
2012-04-24 09:23:08 -07:00
Jack Moffitt
95d1179138 Add back in 1-arg version of help-for for backwards compatibility.
Note that this means that plugins using this won't be able to resolve
aliases when getting help.
2012-04-24 10:20:45 -06:00
Chas Emerick
9c904ad989 print complete information on errors encountered in with-profile 2012-04-23 19:18:20 -04:00
Phil Hagelberg
5f5c0cdbab Fix native-path and repl test failures. 2012-04-18 21:51:50 -07:00
Phil Hagelberg
a7ea1c5b5a Bump lein-newnew to 0.2.7. Fixes #533. 2012-04-18 21:48:04 -07:00
Colin Jones
d972bc29cd Bump reply version for jlinerc warning fix 2012-04-18 23:18:33 -05:00
Colin Jones
fdae11f7d1 Allow trampolining the repl task
refs #528
2012-04-18 21:08:42 -05:00
Phil Hagelberg
d038306c97 Move project.clj included in jar to path under group/artifact. Fixes #521. 2012-04-17 22:20:58 -07:00
Phil Hagelberg
b99b57a3d5 Clarify that :password and :passphrase are used by different repositories.
[ci skip]
2012-04-17 22:14:53 -07:00