Browse files

Switching all Github URLs to https.

  • Loading branch information...
1 parent 10ef6f7 commit b3fe397891d7640adc273ba522ec8382ea0da8e5 @technomancy committed Dec 3, 2010
Showing with 33 additions and 33 deletions.
  1. +2 −2
  2. +3 −3
  3. +11 −11
  4. +9 −9
  5. +2 −2 bin/lein
  6. +1 −1 bin/lein.bat
  7. +1 −1 project.clj
  8. +1 −1 src/leiningen/core.clj
  9. +1 −1 src/leiningen/pom.clj
  10. +1 −1 src/leiningen/util/maven.clj
  11. +1 −1
@@ -23,7 +23,7 @@ TODO: what goes where? a tour through the launching of a task
Leiningen is extensible; you can define new tasks in plugins. Add your
plugin as a dev-dependency of your project, and you'll be able to call
-<tt>lein $YOUR_COMMAND</tt>. See the [plugins guide]( for details.
+<tt>lein $YOUR_COMMAND</tt>. See the [plugins guide]( for details.
The [mailing list]( and the
leiningen or clojure channels on Freenode are the best places to
@@ -43,7 +43,7 @@ time on your hands, reading this [style
guide]( wouldn't hurt
-See the [complete list of known issues](
+See the [complete list of known issues](
TODO: integrate with plugin guide
@@ -52,7 +52,7 @@ If your plugins need to do a fair amount of filesystem-y things, you
may want to take a look at using Ant tasks to do them since the JDK
lacks a lot of simple functionality of this kind. Using the Ant API
directly is a pain, but it can be eased to a degree using
-[Lancet]( Lancet is the
+[Lancet]( Lancet is the
Clojure adapter for Ant that is developed as the sample project in the
@@ -67,7 +67,7 @@ of how to call a task from Clojure.
You can modify the behaviour of built-in tasks to a degree using
hooks. Hook functionality is provided by the [Robert
-Hooke]( library. This is an
+Hooke]( library. This is an
implied dependency; as long as Leiningen 1.2 or higher is used it will
be available.
@@ -93,7 +93,7 @@ used without being specified in project.clj; this is a bug. In 1.3 and
on they are opt-in only.
See [the documentation for
for more details.
## Have Fun
@@ -8,7 +8,7 @@
Leiningen is a build tool for Clojure designed to not set your hair on fire.
-<img src="" alt="Leiningen logo" title="The man himself" align="right" />
+<img src="" alt="Leiningen logo" title="The man himself" align="right" />
Building Clojure projects with tools designed for Java can be an
exercise in frustration. With Leiningen, you describe your build with
@@ -20,31 +20,31 @@ Leiningen bootstraps itself using the <tt>lein</tt> shell script;
there is no separate 'install script'. It installs its dependencies
upon the first run on unix, so the first run will take longer.
-1. [Download the script](
+1. [Download the script](
2. Place it on your path and chmod it to be executable.
I like to place it in ~/bin, but it can go anywhere on the $PATH.
To track development of Leiningen you may use [the master version of the
instead. See the "Building" section below.
On Windows most users can
1. Download the Windows distribution
2. Unzip in a folder of choice.
3. Include the "lein" directory in PATH.
If you have wget.exe or curl.exe already installed and in PATH, you
can download either [the stable version
or [the development
and use self-install.
## Usage
has a detailed walk-through of the steps involved in creating a new
project, but here are the commonly-used tasks:
@@ -89,7 +89,7 @@ Place a <tt>project.clj</tt> file in the project root like this:
The <tt>lein new</tt> task generates a project skeleton with an
appropriate starting point from which you can work. See the
file for a detailed listing of configuration options.
You can also have user-level configuration that applies for all
@@ -114,7 +114,7 @@ See the plugin task's help for more information.
**Q:** How do you pronounce Leiningen?
**A:** It's LINE-ing-en. I think.
-**Q:** What does this offer over [Lancet](
+**Q:** What does this offer over [Lancet](
**A:** Lancet is more of a library than a build tool. It doesn't predefine
any tasks apart from what Ant itself offers, so there is nothing
Clojure-specific in it. Leiningen builds on Lancet, but takes
@@ -136,7 +136,7 @@ See the plugin task's help for more information.
**Q:** What's a group ID? How do snapshots work?
**A:** See the
- [tutorial](
+ [tutorial](
for background.
**Q:** How should I pick my version numbers?
@@ -159,7 +159,7 @@ See the plugin task's help for more information.
**Q:** How do I write my own tasks?
**A:** If it's a task that may be useful to more than just your
project, you should make it into a
- [plugin](
+ [plugin](
You can also include one-off tasks in your src/leiningen/ directory
if they're not worth spinning off; the plugin guide shows how.
@@ -8,7 +8,7 @@ project building and JVM-land dependency management.
## Creating a Project
We'll assume you've got Leiningen installed as per the
Generating a new project is easy:
$ lein new myproject
@@ -148,7 +148,7 @@ Dependencies are downloaded from Clojars, the central Maven (Java)
repository, the [official Clojure build
server](, and any other repositories that you
add to your project.clj file. See :repositories in
If you've confirmed that your project will work with a number of
different versions of a given dependency, you can provide a range
@@ -168,7 +168,7 @@ the project to function. Leiningen calls these
:dev-dependencies. They're listed in project.clj alongside regular
dependencies and downloaded when you run <tt>lein deps</tt>, but they
are not brought along when another project depends on your
-project. Using [swank-clojure](
+project. Using [swank-clojure](
for Emacs support would be a typical example; you may not want it
included at runtime, but it's useful while you're hacking on the project.
@@ -223,7 +223,7 @@ test-driven development due to the slow startup time of the JVM. For
quick feedback, try starting an interactive session with "lein int"
and running tests from in there. Other options include editor
integration (see
-[clojure-test-mode]( for
+[clojure-test-mode]( for
Emacs) or keep a repl open and call <tt>run-tests</tt> from there as
you work.
@@ -242,7 +242,7 @@ If you're lucky you'll be able to get away without doing any AOT
that require it, so if you need to use them you should add an :aot
option into your project.clj file. It should be a seq of namespaces
you want AOT-compiled. Again, the
has example usage.
Like dependencies, this should happen for you automatically when
@@ -371,7 +371,7 @@ wrapper template instead of the default. The <tt>format</tt> function
is called with the contents of this file along with the necessary
classpath and the main namespace, so put %s in the right place. See
[the default
for an example.
### Publishing
@@ -415,13 +415,13 @@ HTTP using something like <a href="">nginx</a>.
There are many ways to get your project deployed as a server-side
application. Simple programs can be packaged up as tarballs with
accompanied shell scripts using the [lein-release
-plugin]( and then deployed
+plugin]( and then deployed
using [chef](,
[pallet](, or other
mechanisms. Web applications may be deployed using the [lein-war
-plugin]( You can even
+plugin]( You can even
create [Hadoop
-projects]( These kinds of
+projects]( These kinds of
deployments are so varied that they are better-handled using plugins
rather than tasks that are built-in to Leiningen itself.
@@ -93,7 +93,7 @@ if [ "$1" = "self-install" ]; then
echo "Downloading Leiningen now..."
LEIN_DIR=`dirname "$LEIN_JAR"`
mkdir -p "$LEIN_DIR"
- LEIN_URL="$LEIN_VERSION-standalone.jar"
+ LEIN_URL="$LEIN_VERSION-standalone.jar"
if [ $? != 0 ]; then
echo "Failed to download $LEIN_URL"
@@ -120,7 +120,7 @@ elif [ "$1" = "upgrade" ]; then
echo "Upgrading..."
&& chmod +x "$SCRIPT" \
&& echo && $SCRIPT self-install && echo && echo "Now running" `$SCRIPT version`
@@ -101,7 +101,7 @@ if ERRORLEVEL 9009 (
set HTTP_CLIENT=curl --insecure -f -L -o
del "%LEIN_JAR%">nul 2>&1
@@ -4,7 +4,7 @@
(defproject leiningen "1.4.0-RC2"
:description "A build tool designed not to set your hair on fire."
- :url ""
+ :url ""
:license {:name "Eclipse Public License"}
:dependencies [[org.clojure/clojure "1.2.0"]
[org.clojure/clojure-contrib "1.2.0"]
@@ -227,7 +227,7 @@ Takes major, minor and incremental versions into account."
"\n*** Using version " (System/getenv "LEIN_VERSION")
" could cause problems. ***\n"
"\n- Get the latest verison of Leiningen at\n"
- "-\n"
+ "-\n"
"- Or by executing \"lein upgrade\"\n\n")))))
(defn -main
@@ -11,7 +11,7 @@
"\n<!-- This file was autogenerated by the Leiningen build tool.
Please do not edit it directly; instead edit project.clj and regenerate it.
It should not be considered canonical data. For more information see
- -->\n")
+ -->\n")
(defn make-pom
([project] (make-pom project false))
@@ -104,7 +104,7 @@
(when-let [[user repo] (parse-github-url url)]
{:public-clone (str "git://" user "/" repo ".git")
:dev-clone (str "ssh://" user "/" repo ".git")
- :browse (str "" user "/" repo)}))
+ :browse (str "" user "/" repo)}))
(defn- make-git-scm [git-dir]
@@ -5,7 +5,7 @@
Leiningen TODOs
-See also
+See also
* Open Questions
** Aether: how would it integrate? Improvement over maven-ant-tasks?

0 comments on commit b3fe397

Please sign in to comment.