Commit graph

4128 commits

Author SHA1 Message Date
Florian Anderiasch
5433965fc8 Merge pull request #2027 from winks/leiningen-1759
Clarify password/passphrase in DEPLOY.md
2015-11-15 21:36:51 +01:00
Florian Anderiasch
d3d8c19812 Clarify password/passphrase in DEPLOY.md 2015-11-15 21:34:20 +01:00
Florian Anderiasch
e2c257552f Reset ERRORLEVEL and RC in lein.bat
Fixed #1865
For reference:
http://blogs.msdn.com/b/oldnewthing/archive/2008/09/26/8965755.aspx
2015-11-15 20:33:12 +01:00
Jean Niklas L'orange
98379a9c85 Merge pull request #2024 into master 2015-11-10 23:09:08 +01:00
Jean Niklas L'orange
374557c70a Set LEIN_JAVA_CMD to JAVA_CMD if set
Also don't mess with export options for JAVA_CMD. It's not set in
lein anymore, so it's effectively a noop.
2015-11-10 23:09:05 +01:00
Florian Anderiasch
db81aed816 Merge pull request #2023 from m9aertner/leiningen-1899
Leiningen 1899
2015-11-10 20:33:05 +01:00
Juergen Hoetzel
ae4f6a87d3 Don't preset JAVA_CMD. Refs #2009
Because on Cygwin JAVA_CMD will be set to an UNIX path. This will result
in a "File not found" exception when the native Leiningen JAVA process
will execute JAVA_CMD.
2015-11-10 00:18:10 +01:00
Matthias Gaertner
ce47c9b913 2.5.2-SNAPSHOT doesn't build on Windows 7 with Java 8 #1899
Checked upgrade command. Condition was wrong and self-modifying batch code
is just ugly.

Testing:
- Remove 2.5.3 JAR file. This will be re-loaded by calling self-install
  on the loaded batch file.
- Execute "bin\lein.bat upgrade 2.5.3".
- The batch file will be reverted to the 2.5.3 state and JAR file loaded.
2015-11-09 01:54:30 +01:00
Matthias Gaertner
3b4079f0e1 2.5.2-SNAPSHOT doesn't build on Windows 7 with Java 8 #1899
Checked on Windows 7 and Windows 8, with Java Oracle 1.8.0_65.
Improved error detection, especially for downloads. Script
returns non-zero exit code on problems now.
Updated wget link. The original URL does not work any longer.
Supplied a known clean download location, including VirusTotal link.
The slightly re-written structure makes this code work with TCC, too,
so this commit should solve #2019, too.
Quoting has been amended so the code works on Leiningen folders that
contain space characters.
2015-11-09 00:28:44 +01:00
Jean Niklas L'orange
204df2d8f6 Merge pull request #2022 from sbondaryev/feature/binary-file-support
support binary files in lein-new
2015-11-08 01:58:45 +01:00
Sergiy BONDARYEV
00e574eaab add raw-resourcer higher order functoin which returns raw-files generator 2015-11-07 23:08:44 +01:00
Sergiy BONDARYEV
1e390727ff change default renderer io/reader -> io/input-stram to support binary files 2015-11-07 14:51:17 +01:00
Matthias Gaertner
927b9bf26c 2.5.2-SNAPSHOT doesn't build on Windows 7 with Java 8 #1899 2015-11-05 23:54:58 +01:00
Jean Niklas L'orange
dde4022c18 Merge pull request #2009 from propan/master
show a better error message when java is not found in PATH
2015-11-02 00:21:05 +01:00
Jean Niklas L'orange
86e985397a Merge branch 'pr/2017' 2015-11-01 23:58:37 +01:00
Jean Niklas L'orange
c6b559ddb5 bump some hidden nrepl deps, ref #2017 2015-11-01 23:57:53 +01:00
Jean Niklas L'orange
936f377b8e Merge pull request #2007 from schmir/fix-non-github-url-parsing
don't parse broken scm params from non-github URLs
2015-11-01 22:52:55 +01:00
Jean Niklas L'orange
3667708c57 Merge pull request #1990 from MichaelBlume/no-auth
allow setting no-auth in settings
2015-11-01 22:50:59 +01:00
Bozhidar Batsov
8fd028e896 Bump the nREPL dep to 0.2.12
nREPL 0.2.11 added an extremely important source-tracking feature, which is leveraged by CIDER (and probably some other tools). 0.2.12 fixed a critical bug introduced in 0.2.11.
2015-11-01 18:34:46 +02:00
Pavel Prokopenko
6379f6dad9 show a better error message when java is not found in PATH 2015-10-24 00:19:04 +03:00
Jean Niklas L'orange
4d91b32123 Merge pull request #2008 from floating-cat/master
Update CHANGELOG.md templates
2015-10-22 13:49:55 +02:00
floating-cat
1a68eb0c1e Update CHNAGELOG.md templates 2015-10-22 10:55:50 +08:00
Ralf Schmitt
d70936419c don't parse broken scm params from non-github URLs
return nil instead of the empty list from parse-github-url. Otherwise
we end up with broken connection and developerConnection params in pom
files when not using github, like in:

  <scm>
    <connection>scm:git:git://github.com//.git</connection>
    <developerConnection>scm:git:ssh://git@github.com//.git</developerConnection>
    <tag>03299434f4af53bde0fd4f4000174ae7a7ee0818
</tag>
    <url>https://github.com//</url>
  </scm>

With this change, the scm section for non-github URLs looks like:

  <scm>
    <tag>03299434f4af53bde0fd4f4000174ae7a7ee0818
</tag>
    <url/>
  </scm>
2015-10-16 14:09:46 +02:00
Jean Niklas L'orange
74d4168bf3 Merge pull request #2006 from RasterBurn/patch-1
Documentation fix: change passphrase to password
2015-10-16 00:20:29 +02:00
Dan Harbin
ef928dfc7b Documentation fix: change passphrase to password
`:passphrase` does not work in this context (non-gpg encrypted credentials).  This works when you specify `:password` instead.
2015-10-14 16:36:42 -05:00
Phil Hagelberg
3bd52cb8a9 Merge pull request #2005 from coldnew/fix-typo-on-profiles-md
Fix typo on PROFILES.md
2015-10-13 13:22:18 +00:00
Yen-Chin Lee
205664426a Fix typo on PROFILES.md
The :resource-paths is mispelled in :resources-path.

Signed-off-by: Yen-Chin Lee <coldnew.tw@gmail.com>
2015-10-13 13:44:51 +08:00
Jean Niklas L'orange
86ad734b0f Merge pull request #2004 from pietromenna/pedantic-abort-when-true
Return non zero status when :pedantic? is set to true or :abort
2015-10-12 00:19:31 +02:00
Pietro F. Menna
d2a2076477 Return non zero status when :pedantic? is set to true or :abort
Closes #1856.
2015-10-11 17:16:46 -03:00
Jean Niklas L'orange
696ccf90fd Merge pull request #2002 from timvisher/add-timvisher-to-news
Add exit code change to NEWS
2015-10-02 18:51:34 +02:00
Tim Visher
180490c485 Add Tim Visher to NEWS 2015-10-02 12:43:02 -04:00
Emlyn Corrin
3395edfe69 Need access to regex? 2015-09-28 18:03:25 +01:00
Emlyn Corrin
e0c3ea9d04 Make regex? visible 2015-09-28 18:01:45 +01:00
Emlyn Corrin
5c3fdbb62b Don't trigger implicit-aot-warning on regex match
Prevent the implicit-aot-warning from triggering if `:aot` contains a regex matching the main namespace.
2015-09-28 17:55:19 +01:00
Jean Niklas L'orange
d701275464 Quote components in ()s in lein.bat
Thanks for modulus @ freenode/#leiningen for the fix.
2015-09-26 16:36:19 +02:00
Jean Niklas L'orange
89f7ba1465 Merge pull request #1991 from MichaelBlume/container-build
allow travis to do a container build
2015-09-23 09:52:14 +02:00
Jean Niklas L'orange
7b6537a02c Merge pull request #1993 from rwilson/master
Added to template docs explaining mustache delimiters
2015-09-23 09:50:03 +02:00
Ryan Wilson
de4ec3e970 Added section to template documentation explaining mustache delimiters. 2015-09-22 17:47:44 -07:00
Michael Blume
a0c6df0916 allow travis to do a container build 2015-09-21 16:22:12 -07:00
Michael Blume
f60562c5a6 allow setting no-auth in settings
Some wagons can find their own authentication. For example, the S3 wagon can
use IAM roles if it's running on an EC2 instance. For these wagons, all we need
to do is get out of the way.
2015-09-21 16:16:54 -07:00
Jean Niklas L'orange
87c7e07da9 Back to snapshot 2015-09-22 00:37:56 +02:00
Jean Niklas L'orange
574aabb9d4 Release 2.5.3 2015-09-21 23:23:51 +02:00
Jean Niklas L'orange
783ba1ed11 Update NEWS.md 2015-09-21 22:31:58 +02:00
Jean Niklas L'orange
3b0bd543e4 Merge pull request #1988
Conflicts:
	test/leiningen/test/new.clj
2015-09-20 17:25:53 +02:00
Jean Niklas L'orange
a8907c496d Add CHANGELOG.md to tests. 2015-09-20 17:18:40 +02:00
Jean Niklas L'orange
afa31af346 Pin potemkin. Ref #1693
It seems like potemkin is kept at 0.3.x, but some libraries seem to
depend on its transitive dependency, clj-tuple. In particular, some
dependency wants to use `clojure.lang.PersistentUnrolledVector`, which it
cannot find.

Pinning it to the latest version seems to cause issues like #1693 go
away.
2015-09-20 16:12:15 +02:00
Jean Niklas L'orange
aeee655881 Only merge in mirrors (if key exist) 2015-09-20 15:47:11 +02:00
Jean Niklas L'orange
af387e9e7c Merge pull request #1970 from Hardtack/master
Fix #1785
2015-09-20 15:43:35 +02:00
Jean Niklas L'orange
37e9c8cfbf Merge pull request #1830 from winks/issue-1420
Fixes #1420
2015-09-20 14:44:38 +02:00
Daniel Compton
804d96190f Add CHANGELOG.md to lein new templates
`lein new` commands will create a CHANGELOG.md template.

Fixes #1982
2015-09-12 23:44:51 +12:00