Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A Leiningen template for creating a project that will contain a single file.
Clojure Shell
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
script
src/leiningen/new
.gitignore
LICENSE
README.md
project.clj

README.md

experiment

A Leiningen template for creating a project that will contain a single file. It pull pull in midje for testing but otherwise leave you with as small a project as possible.

Suitable for hello worlding a new library or quickly validating an idea.

Usage

No installation is needed. Just run:

lein new experiment hello-world

You will have generated:

; hello_world.clj
(ns hello-world
  (:require [midje.sweet :refer :all]))

(fact (+ 1 1) => 2)

; project.clj
(defproject hello-world "0.1.0-SNAPSHOT"
  :description "FIXME"
  :license {:name "Eclipse Public License"
            :url "http://www.eclipse.org/legal/epl-v10.html"} 
  :dependencies [[org.clojure/clojure "1.5.1"]
                 [midje "1.5.1"]]
  :source-paths ["."])

License

Copyright © 2013 Logan Campbell

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

Bitdeli Badge

Something went wrong with that request. Please try again.