Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 27 lines (20 sloc) 0.533 kb
47202e4 @tomfaulhaber Beginning work on autodocing the new clojure contrib libs
authored
1 #!/bin/bash
2
406c0e3 @tomfaulhaber Fixed a typo
authored
3 # Do the raw setup for a new clojure-contrib library in the 1.3 world
47202e4 @tomfaulhaber Beginning work on autodocing the new clojure contrib libs
authored
4
5 if [ $# -ne 1 ]
6 then
7 echo "Usage: `basename $0` repo-name"
8 exit 1
9 fi
10
11 repo=$1
12
13 # Create the new directory
14 cd /home/tom/src/clj/autodoc-work-area/
15 mkdir $repo
16 cd $repo
17
18 # Clone the github repo into two separate directories
19 hub clone clojure/$repo src
20 git clone git@github.com:clojure/$repo.git autodoc
21
22 # Now turn the autodoc directory into a new gh-pages branch
23 cd autodoc/
24 git symbolic-ref HEAD refs/heads/gh-pages
25 rm .git/index
26 git clean -fdx
Something went wrong with that request. Please try again.