Commit graph

3181 commits

Author SHA1 Message Date
Phil Hagelberg
9211b6ab3f Reword windows installer link. 2013-07-26 14:11:43 -07:00
Phil Hagelberg
d14b264f10 Run repl :init inside init-ns. Fixes #1250. 2013-07-26 14:11:43 -07:00
Colin Jones
523f09df29 Bump REPLy version for completion bug
refs trptcolin/reply#120
2013-07-26 15:47:56 -05:00
Luigi D. Teixeira
d2afb8fa06 Fix NoClassDefFoundError when path has spaces
Fix NoClassDefFoundError when LEIN_HOME has spaces.

Related to issue #1238
2013-07-26 15:45:26 -03:00
Mykola Nikishov
0f19408737 Allow Oracle JDK 7 build to fail 2013-07-26 17:37:37 +03:00
Mykola Nikishov
220dc86b15 Enable Oracle's JDK7 2013-07-26 17:37:37 +03:00
Mykola Nikishov
175d48d30c Build commits into any branch 2013-07-26 17:37:37 +03:00
Jean Niklas L'orange
2d8d5b39a6 Revert uberjar test back to std. name, ref #1260. 2013-07-26 09:17:35 +02:00
Phil Hagelberg
1226a7ae64 Calculate uberjar filename before merging uberjar profile. 2013-07-25 16:09:00 -07:00
Phil Hagelberg
fb532b0137 Move provided profile merge to prep call in jar task.
Fixes #1260.
2013-07-25 16:08:45 -07:00
Jean Niklas L'orange
492bec07dc Document LEIN_JVM_OPTS. Closes #1261. 2013-07-25 16:08:43 +02:00
Jean Niklas L'orange
ae161bac8a "Fix" uberjar test, and make jar defn private.
Ref #1260, all uberjars generated without any specific profile
additions/deletions are now put in the folder `target/uberjar+provided`.
That's not intentional, right?
2013-07-25 10:37:58 +02:00
Phil Hagelberg
f9395ba22e Deprecate explicit self-install command in bin/lein.
Fixes #1251
2013-07-24 20:55:44 -07:00
Phil Hagelberg
aa3356c10b Splice :version into :jar-name. 2013-07-24 20:55:34 -07:00
Phil Hagelberg
53fdf1c685 Scope :compile-path and :native-path under :target-path. 2013-07-24 20:55:28 -07:00
Phil Hagelberg
962ce20ae9 Scope :compile-path and :native-path under :target-path. 2013-07-24 20:55:23 -07:00
Phil Hagelberg
4feade3f7b Fix wonky newlines. 2013-07-24 19:21:23 -07:00
Phil Hagelberg
ce29c12e68 Re-word contributing message. 2013-07-24 19:21:07 -07:00
Jean Niklas L'orange
2276cfa392 Remove lib directory from template gitignore. 2013-07-25 00:02:22 +02:00
Jean Niklas L'orange
af9ecff28d :use -> :require in "template" template. 2013-07-24 23:59:17 +02:00
Jean Niklas L'orange
fcd8bd05d1 Make templates.clj conform to code conventions. 2013-07-23 22:33:55 +02:00
Phil Hagelberg
5b26b89d9c Support :pedantic? :abort/:warn.
Move range/overlap detection into l.c.classpath.

Fixes #1197.
2013-07-22 18:45:16 -07:00
Jean Niklas L'orange
b540e8ae95 Merge branch 'expand-composite-profiles' 2013-07-20 18:50:34 +02:00
Jean Niklas L'orange
7a935545c4 Don't attach subprofiles to metadata map.
Whenever composite profiles were added to project maps, their children
were also attached as active profiles. This confuses `with-profile` and
profile merging task where excluded profiles only remove the name of the
composite profile, not the subprofiles. This allows uberjar to exclude
the default profile without excluding subprofiles, without excluding
active subprofiles themselves.

So these task actions now produce sensible results:
`lein with-profile +dev uberjar` -> uberjar with dev-dependencies, but
without the other default profiles
`lein -U uberjar` -> uberjar with snapshot updates, but not with any
default dependencies added.

Fixes #1233.
2013-07-20 18:45:07 +02:00
Jean Niklas L'orange
cd8ed45638 Expand composite profiles before removing them.
This seem to handle #1233 correctly, but breaks a pom test. I assume
there's some part of the merge logic I've forgotten, so feel free to
peek around and comment on what I've currently done.
2013-07-18 01:45:25 +02:00
Phil Hagelberg
39fa6afb52 Default to recursive checkout deps.
Fixes #1190.
2013-07-16 20:22:09 -07:00
Jean Niklas L'orange
afb8882578 Exit if trampoline file is empty. Fixes #1254.
A consequence of this fix is that travis-ci will complain on errors and
fails again, and I expect this build to fail due to that very reason.
2013-07-16 11:40:51 +02:00
Jean Niklas L'orange
9bef321ece Always add concrete filespec files. Fixes #1242. 2013-07-16 01:51:28 +02:00
Jean Niklas L'orange
e288c1a7fd Remove cruft remaining from older lein versions. 2013-07-16 01:27:39 +02:00
Phil Hagelberg
b46a1a35a2 Merge pull request #1243 from richo/features/git_plumbing
Use git's plumbing to lookup HEAD
2013-07-15 13:58:18 -07:00
Phil Hagelberg
214fd7c6a2 Empty :*-paths when running outside a project dir.
Fixes #1253.
2013-07-15 13:33:43 -07:00
Richo Healey
4fc9e61fdd Fallback to the original behaviour on any error invoking git plumbing 2013-07-15 11:42:27 -07:00
Richo Healey
5dfa542f8f Always return full SHA1 hash of HEAD 2013-07-15 11:42:26 -07:00
Richo Healey
36b2d62d12 Fallback to original behaviour on IOException 2013-07-15 11:42:16 -07:00
Phil Hagelberg
57c0b1e0e2 Remove :target-path from :base profile.
Fixes #1222; might introduce even more problems.
2013-07-12 07:45:07 -07:00
Phil Hagelberg
1225f0bf4f Error message when aws creds are missing. 2013-07-12 07:44:51 -07:00
Phil Hagelberg
c701c57440 Move download-calculating script. 2013-07-12 07:40:06 -07:00
Phil Hagelberg
f4b489b8da Merge pull request #1252 from gphil/leiningen-download-stats
automate collection and reporting of leiningen download statistics
2013-07-12 07:37:36 -07:00
Greg Phillips
2560d7abfb automate collection and reporting of current leiningen download statistics 2013-07-11 12:27:45 -07:00
Jean Niklas L'orange
c3aa8d51be Add resources dir to app template, ref #1016. 2013-07-10 12:21:49 +02:00
Jean Niklas L'orange
583fcdaf88 We always tend to forget one of these. 2013-07-10 02:46:05 +02:00
Michael Klishin
201c044894 Merge pull request #1249 from josteink/master
Fix Windows: lein.bat can't handle spaces in %USERPROFILE%
2013-07-09 11:23:53 -07:00
Jostein Kjønigsen
00b4b1bda7 Fix problem with spaces in user-profile. 2013-07-09 19:58:01 +02:00
Phil Hagelberg
c1c7f6ba4b Merge pull request #1247 from MichaelBlume/preprocess-for-get-jar-filename
make sure get-jar-filename does the same preprocessing jar does.
2013-07-08 08:24:08 -07:00
Mike Blume
eeaf0fef1f make sure get-jar-filename does the same preprocessing jar does. 2013-07-07 14:20:38 -07:00
Phil Hagelberg
cdf30e66aa Use EPL 1.0 or later in new project templates. 2013-07-06 15:59:15 -07:00
Phil Hagelberg
7bbb9e0e1a Replace bare println with main/info calls. 2013-07-06 15:58:36 -07:00
Phil Hagelberg
44eb86cfd5 Don't blow up on test failures in test-ns-hook.
Fixes #1201.
2013-07-06 15:57:26 -07:00
Phil Hagelberg
7dceb40aac Narrower github readme means banner looks weird.
[ci skip]
2013-07-02 11:21:33 -07:00
Phil Hagelberg
9da3c34cab Reduce silly uberjar output.
[ci skip]
2013-07-02 10:06:22 -07:00