Skip to content

Instantly share code, notes, and snippets.

@dysinger
Created December 4, 2009 02:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save dysinger/248796 to your computer and use it in GitHub Desktop.
Save dysinger/248796 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 test123
cd test123/
cat >project.clj <<EOF
(defproject test123 "1.0-SNAPSHOT"
:description "blah blah"
:url "http://blah.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