Commit graph

36 commits

Author SHA1 Message Date
Wolodja Wentland
83c136daa1 Add LICENSE file to project templates
Projects created by "lein new" are meant to be licensed under the EPL as noted
in project.clj and README.md. One requirement of the EPL is, however, that "a
copy of this Agreement [the EPL] must be included with each copy of the
Program." [0].

This means that projects created by leiningen cannot be legally distributed if
the author fails to add the LICENSE him/herself. This patch fixes this issue
by creating a LICENSE file with a plain text copy of the EPL 1.0 (cf. [0]) by
default for new projects.

[0] http://www.eclipse.org/legal/epl-v10.html → 3. REQUIREMENTS
2013-07-30 15:07:44 +01: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
Phil Hagelberg
cdf30e66aa Use EPL 1.0 or later in new project templates. 2013-07-06 15:59:15 -07:00
Phil Hagelberg
e22d0aada7 Don't need this now with read-edn. 2013-06-14 12:32:56 -07:00
Phil Hagelberg
722afb92c5 Support custom repl :welcome message.
Fixes #1178.
2013-05-27 14:42:33 -07:00
Reid McKenzie
5e0c1c1451 same require update for the app template 2013-03-30 14:42:01 +01:00
Reid McKenzie
1b6572246d update tests template to :require from :use 2013-03-29 23:24:25 -05:00
Toby Crawley
1e857f76f4 Link the GPG doc to 'help gpg' 2013-03-17 17:08:50 -07:00
Michael Klishin
800efff833 Use Clojure 1.5.1 in lein new templates
Fixes #1059
2013-03-14 00:21:42 +04:00
Michael Klishin
ba5d6d9d60 Make core templates use Clojure 1.5 2013-03-04 04:02:18 +04:00
Phil Hagelberg
3aec2e4de9 Work around CLJ-1153 in the default app template.
http://dev.clojure.org/jira/browse/CLJ-1153
2013-01-31 10:10:27 -08:00
Jean Niklas L'orange
9e9d94581c Add pom.xml.asc and .lein-repl-history to lein new gitignores. 2013-01-17 16:18:12 +01:00
Brandon Bloom
9ecf3e4c53 Add newlines at end of template files 2013-01-16 19:44:58 -08:00
Phil Hagelberg
b6a4caad45 Oops; accidentally merged lein-newnew 0.3.6 instead of latest. 2013-01-11 11:14:33 -08:00
Phil Hagelberg
03151e1af9 Docs for new. 2013-01-11 11:04:26 -08:00
Phil Hagelberg
c300908789 newnew's not newnew anymore; it's just new. 2013-01-11 10:55:55 -08:00
Phil Hagelberg
96e02b9ca1 Alias lein help project.clj to lein help sample. 2012-10-10 09:35:24 -07:00
Phil Hagelberg
79d001c26f Add mixed projects to lein help static content. 2012-10-10 09:35:05 -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
John Szakmeister
cdd79b2906 Update the news symlink to point at NEWS.md 2012-05-11 08:25:44 -04:00
Phil Hagelberg
809519d05a Remove unused script templates. 2012-05-10 11:45:02 -07:00
Phil Hagelberg
251d770ea0 Move "deploy" help to "deploying" to avoid collision. 2011-07-19 19:03:47 -07:00
Phil Hagelberg
d90affdd6f Move docs to doc/ directory. 2011-07-01 10:32:38 -07:00
Jaskirat
846409c9bc Fixed script-template for windows. Made it similar to the shell script so that the %s replacements occur in the right order 2011-02-12 03:47:08 +05:30
Phil Hagelberg
201f0b6249 Add version to script wrappers. 2011-01-19 21:33:26 -08:00
Matjaz Gregoric
6cdd04949d Switch from JAVA_OPTS to JVM_OPTS in windows batch scripts.
Keep JAVA_OPTS for backwards compatibility.
2010-12-25 09:41:49 +01:00
Phil Hagelberg
665ab9afc3 Add sample.project.clj to static-help pages. 2010-12-24 20:48:10 -08:00
Phil Hagelberg
65a2dc461b Switch from JAVA_OPTS to JVM_OPTS. The former retained as an alias for now. 2010-12-24 20:48:10 -08:00
Phil Hagelberg
b32780d9f0 Support static docs in help task. (readme, tutorial, news, licensing.) 2010-12-01 22:11:53 -08:00
Matjaz Gregoric
f227cd5d88 Modify script-template to be able to run on cygwin. 2010-11-18 11:09:49 +01:00
Matjaz Gregoric
0a6ec18e0d Add support for windows .bat wrappers. 2010-11-18 11:09:48 +01:00
Phil Hagelberg
e55e90c117 Quote around the default shell wrapper's $@.
Thanks to Steve Gilardi for pointing this out.
2010-08-30 20:36:46 -07:00
Phil Hagelberg
5a421d380e Add shell wrapper template. 2010-08-09 22:16:34 -07:00
Phil Hagelberg
2bf87aae53 Add Leiningen logo (courtesy of Loren Broach) to resources dir. 2010-05-18 15:25:15 -10:00