Commit graph

1886 commits

Author SHA1 Message Date
Phil Hagelberg
08c1ce6973 Fix deps test to clean whole target dir. 2012-05-07 16:58:33 -07:00
Phil Hagelberg
f6a4ba53ae Don't re-extract native deps unless deps have changed. Fixes #535.
Also introduces the when-stale helper function which should be useful
in other cases as well.
2012-05-07 16:29:31 -07:00
Phil Hagelberg
3826e78989 Fall back to project when :without-profiles is absent in pom.
We kinda need a circular data structure here where the
:without-profiles map has itself on its own :without-profiles
metadata, but alas.
2012-05-07 15:22:37 -07:00
Phil Hagelberg
5cbe443560 Allow URL scheme to be omitted in $http_proxy.
Seems like most tools allow this to be omitted, so we should probably
follow suit.
2012-05-07 11:49:18 -07:00
Mark Baran
b1022fa4b5 Fixed quoting inside generated trampoline command to pass arguments correctly. 2012-05-07 11:45:41 -07:00
Phil Hagelberg
2a6a4e4d00 Fix search test. 2012-05-07 11:37:41 -07:00
Phil Hagelberg
1cbd58179e Quit checking CLASSPATH in lein.bat.
Disclaimer: http://www.buzzize.com/wp-content/gallery/7i_have_no_idea/thumbs/thumbs_i_have_no_idea_01.jpg
2012-05-07 11:25:18 -07:00
Phil Hagelberg
7c86bdbb83 Set CLASSPATH from scratch rather than checking existing value.
This has only ever caused problems.
2012-05-07 11:24:52 -07:00
Michael Klishin
e2e9aa0463 Merge pull request #563 from uvtc/update-deps-docs
Added docs for `lein deps :tree`.
2012-05-07 06:19:49 -07:00
John Gabriele
1914c8328b Added docs for lein deps :tree. 2012-05-06 22:16:26 -04:00
Nelson Morris
3e1afa892e Bump pomegranate for http deploy fixes 2012-05-06 14:37:20 -05:00
Phil Hagelberg
f39c47b8e2 Merge pull request #561 from jaceklaskowski/master
Patch for #559: Provide leiningen-version function
2012-05-04 12:08:41 -07:00
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