Skip to content

Instantly share code, notes, and snippets.

@tchalvak
Forked from dysinger/lein-test.sh
Created March 27, 2010 01:28
Show Gist options
  • Save tchalvak/345612 to your computer and use it in GitHub Desktop.
Save tchalvak/345612 to your computer and use it in GitHub Desktop.
#!/bin/sh
cd ~/bin
curl -O http://github.com/technomancy/leiningen/raw/stable/bin/lein
chmod 755 lein
lein self-install
cd /tmp
mkdir garden
cd garden/
cat >project.clj <<EOF
(defproject garden "1.0-SNAPSHOT"
:description "Blog"
:url "http://royronalds.com"
:dependencies [[org.clojure/clojure "1.1.0-master-SNAPSHOT"]
[org.clojure/clojure-contrib "1.1.0-master-SNAPSHOT"]])
EOF
mkdir src
lein jar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment